在设备上使用InterstitialAd调试的UWP应用程序,但无法为商店

时间:2016-06-05 02:03:06

标签: c# uwp windows-10-universal advertising

我正在创建一个UWP应用程序,该应用程序通过InterstitialAd构建视频广告(使用Microsoft.Advertising.WinRT.UI;)

当我使用win 10设备调试应用程序时,它运行良好。 我在构建应用程序时没有任何问题。

但唯一的问题是我可以创建一个包,以便将其上传到商店。

以下是文件的输出:

1>C:\Users\Hatim Makki\Documents\Visual Studio 2015\Projects\WaitOrLeave\WaitOrLeave\WaitOrLeave.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'Microsoft.Media.AdaptiveStreaming.winmd'
1>  WaitOrLeave -> C:\Users\Hatim Makki\Documents\Visual Studio 2015\Projects\WaitOrLeave\WaitOrLeave\bin\ARM\Release\mopo.exe
1>  Starting .NET Native compilation
1>  Processing application code
1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\ARM\ilc\IlcInternals.targets(936,5): error : Internal compiler error: MCG0023:UnresolvableAssemblyReference Unresolvable assembly reference 'Assembly(Name=Microsoft.Media.AdaptiveStreaming, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime)' found. Please check the references in your build system. A reference is either missing or an assembly is missing an expected type.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 1 failed ===========

最后,这些是我的参考: enter image description here

和此错误

Severity    Code    Description Project File    Line    Suppression State
Error       Internal compiler error: MCG0023:UnresolvableAssemblyReference Unresolvable assembly reference 'Assembly(Name=Microsoft.Media.AdaptiveStreaming, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime)' found. Please check the references in your build system. A reference is either missing or an assembly is missing an expected type. WaitOrLeave 

任何帮助?

感谢

0 个答案:

没有答案