【发布时间】:2016-04-19 15:59:27
【问题描述】:
我在 UWP 应用程序中使用 AdMediator 和 Store Engagement SDK,在构建之前使用此 .ps 脚本,但仍然构建失败,因为它找不到 AdMediator 和 Store Engagement SDK。有人解决了这个问题吗?
Write-Host "Installing Microsoft Universal Ad Client SDK..."
$msiPath = "$($env:USERPROFILE)\MicrosoftStoreEngagementAndMonetizationSDK.msi"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/229b7858-2c6a-4073-886e-cbb79e851211/file/206533/2/MicrosoftStoreEngagementAndMonetizationSDK.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
Write-Host "Installed" -ForegroundColor green
【问题讨论】:
-
您在使用托管构建代理吗?
标签: tfs win-universal-app tfsbuild azure-devops