raz*_*118 5 .net c# .net-native win-universal-app
我在Universal App Platform - Windows 10的.net本地编译期间发现了奇怪的警告消息.
C:\ Program Files(x86)\ MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5):警告:类型'Windows.UI.Xaml.Controls.Image'未包含在编译中,但是在'XT.Controls.VideoPlayer.VideoPlayerControl'类型中引用.可能缺少装配.
C:\ Program Files(x86)\ MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5):警告:类型'Windows.UI.Xaml.Controls.Button'未包含在编译中,但是在'XT.Controls.VideoPlayer.VideoPlayerControl'类型中引用.可能缺少装配.
应用程序在发布模式下无法正常工作.我在使用MissingMetadataException的splashscreen之后崩溃,需要调试RuntimeType.cs(缺失).
任何想法如何在编译中包含这些类型?
这行代码解决了与汉斯链接的问题。添加到项目属性 Default.rd.xml
<Namespace Name="Windows.UI.Xaml" Dynamic="Required All" Serialize="Required Public" Browse="Required All" Activate="Required All" />
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1447 次 |
最近记录: |