tag:help.appveyor.com,2012-11-13:/discussions/problems/3271-building-wp-81-app-with-microsoftadmediator-microsoftplayerframework-microsoftplayerframeworkxamladvertising-issuesAppVeyor: Discussion 2018-08-25T02:00:54Ztag:help.appveyor.com,2012-11-13:Comment/381921422015-10-14T19:04:41Z2015-10-14T19:04:41ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>As far as I see you need these things installed:<br>
<a href="https://playerframework.codeplex.com/">https://playerframework.codeplex.com/</a><br>
<a href="https://visualstudiogallery.msdn.microsoft.com/0170c67c-c183-4fee-8dd4-c2b44d710d40">
https://visualstudiogallery.msdn.microsoft.com/0170c67c-c183-4fee-8...</a><br>
<a href="https://visualstudiogallery.msdn.microsoft.com/401703a0-263e-4949-8f0f-738305d6ef4b">
https://visualstudiogallery.msdn.microsoft.com/401703a0-263e-4949-8...</a></p>
<p>They could be installed with this PowerShell script (feel free
to put it into separate file):</p>
<pre>
<code>Write-Host "Installing Microsoft Universal Ad Client SDK..."
$msiPath = "$($env:USERPROFILE)\AdMediator.msi"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/401703a0-263e-4949-8f0f-738305d6ef4b/file/146057/6/AdMediator.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
Write-Host "Installed" -ForegroundColor green
Write-Host "Installing Microsoft Player Framework..."
$vsixPath = "$($env:USERPROFILE)\Microsoft.PlayerFramework.vsix"
(New-Object Net.WebClient).DownloadFile('http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=playerframework&DownloadId=1494476&FileTime=130891479935000000&Build=21031', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green
Write-Host "Microsoft Smooth Streaming Client SDK for Windows 8.1..."
$vsixPath = "$($env:USERPROFILE)\AdaptiveStreamingClientSDK.8.1_1.0.1016.14.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/0170c67c-c183-4fee-8dd4-c2b44d710d40/file/105860/4/AdaptiveStreamingClientSDK.8.1_1.0.1016.14.vsix', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green</code>
</pre>
<p>When installing VSIX pay attention to VSIXInstaller path which
should have <code>Microsoft Visual Studio 14.0</code> for VS
2015.</p>
<p>It takes like a minute and half to install all dependencies:
<a href="https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.962">
https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/381921422015-10-16T18:48:57Z2015-10-16T18:48:57ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>Hello thanks for your help i am still getting these issues:</p>
<p>C:\Program Files
(x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1886,5):
error MSB3774: Could not find SDK
"Microsoft.Media.AdaptiveStreamingClient, Version=1.0".
[C:\projects\dailymotion-windows-universal\Dailymotion\Dailymotion.WindowsPhone\Dailymotion.WindowsPhone.csproj]<br>
C:\Program Files
(x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1886,5):
error MSB3774: Could not find SDK "Microsoft.PlayerFramework.Xaml,
Version=2.0.0.0".
[C:\projects\dailymotion-windows-universal\Dailymotion\Dailymotion.WindowsPhone\Dailymotion.WindowsPhone.csproj]<br>
C:\Program Files
(x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1886,5):
error MSB3774: Could not find SDK
"Microsoft.PlayerFramework.Xaml.Adaptive, Version=2.0.0.0".
[C:\projects\dailymotion-windows-universal\Dailymotion\Dailymotion.WindowsPhone\Dailymotion.WindowsPhone.csproj]<br>
C:\Program Files
(x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1886,5):
error MSB3774: Could not find SDK
"Microsoft.PlayerFramework.Xaml.Advertising, Version=2.0.0.0".
[C:\projects\dailymotion-windows-universal\Dailymotion\Dailymotion.WindowsPhone\Dailymotion.WindowsPhone.csproj]<br>
Command exited with code 1</p></div>Damien Delairetag:help.appveyor.com,2012-11-13:Comment/381921422015-10-16T18:53:49Z2015-10-16T18:53:50ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>here is the list of the references that i am using:<br>
<a href="http://i.imgur.com/qPEhuPE.png">http://i.imgur.com/qPEhuPE.png</a></p>
<p>in the script i have add the PS code doe ratemyapp:</p>
<p>Write-Host "Rate My App 125..."<br>
$vsixPath = "$($env:USERPROFILE)\RateMyApp125.vsix" (New-Object
Net.WebClient).DownloadFile('<a href="https://github.com/Microsoft/rate-my-app/blob/master/Source_WPA81/VSix_InstallationPackage/RateMyApp125.vsix?raw=true&#39">https://github.com/Microsoft/rate-my-app/blob/master/Source_WPA81/V...</a>;,
$vsixPath) "<code>"C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\VSIXInstaller.exe</code>" /q /a $vsixPath" |
out-file ".\install-vsix.cmd" -Encoding ASCII &
.\install-vsix.cmd Write-Host "Installed" -ForegroundColor
green</p></div>Damien Delairetag:help.appveyor.com,2012-11-13:Comment/381921422015-10-16T19:15:46Z2015-10-16T19:15:46ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>Looks like more packages/SDKs are missing.</p>
<p>I'd suggest logging in to build worker via RDP: <a href="http://www.appveyor.com/docs/how-to/rdp-to-build-worker">http://www.appveyor.com/docs/how-to/rdp-to-build-worker</a></p>
<p>and then installing missing packages one-by-one until the
projects compiles. This way we could get precise list of missing
packages.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/381921422015-10-16T21:01:25Z2015-10-16T23:38:20ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>thanks for your help, in the end it was not downloading the
correct version of the Playerframework i needed version 2 and not
version 3 and i was missing the readyplayer for Windows Phone.</p>
<p>here is the final script:</p>
<pre>
<code>Write-Host "Installing Microsoft Universal Ad Client SDK..."
$msiPath = "$($env:USERPROFILE)\AdMediator.msi"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/401703a0-263e-4949-8f0f-738305d6ef4b/file/146057/6/AdMediator.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
Write-Host "Installed" -ForegroundColor green
Write-Host "Installing Microsoft Player Framework 2.0 ..."
$vsixPath = "$($env:USERPROFILE)\Microsoft.PlayerFramework.vsix"
(New-Object Net.WebClient).DownloadFile('http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=playerframework&DownloadId=845206&FileTime=130449531816430000&Build=21031', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green
Write-Host "MS AdaptiveStreaming Client SDK for Windows PHONE 8.1..."
$vsixPath = "$($env:USERPROFILE)\AdaptiveStreamingClientSDK.WP8.1_1.0.1016.14.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/b837ddf3-6884-436e-aeb7-35c6151a8933/file/129460/2/AdaptiveStreamingClientSDK.WP8.1_1.0.1016.14.vsix', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green
Write-Host "Microsoft Smooth Streaming Client SDK for Windows 8.1..."
$vsixPath = "$($env:USERPROFILE)\SmoothStreamingClientSDK_1.0.417.13.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/04423d13-3b3e-4741-a01c-1ae29e84fea6/file/67747/15/SmoothStreamingClientSDK_1.0.417.13.vsix', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green
Write-Host "Microsoft.Media.PlayReadyClient for Phone"
$vsixPath = "$($env:USERPROFILE)\Microsoft.Media.PlayReadyClient.Phone.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/477225f7-cb03-4fe6-8c5b-bfc76db7c09f/file/129044/2/Microsoft.Media.PlayReadyClient.Phone.vsix', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green
Write-Host "Rate My App 125..."
$vsixPath = "$($env:USERPROFILE)\RateMyApp125.vsix"
(New-Object Net.WebClient).DownloadFile('https://github.com/Microsoft/rate-my-app/blob/master/Source_WPA81/VSix_InstallationPackage/RateMyApp125.vsix?raw=true', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
Write-Host "Installed" -ForegroundColor green</code>
</pre></div>Damien Delairetag:help.appveyor.com,2012-11-13:Comment/381921422015-10-16T23:37:57Z2015-10-16T23:37:57ZBuilding WP 8.1 app with Microsoft.AdMediator, Microsoft.PlayerFramework, Microsoft.PlayerFramework.Xaml.Advertising issues<div><p>Great, thank you for the update and sharing the final
script!</p></div>Feodor Fitsner