[UWP]使用运行时指令解决MissingRuntimeArtifactException问题 [英] [UWP] Trouble resolving MissingRuntimeArtifactException using a runtime directive

查看:164
本文介绍了[UWP]使用运行时指令解决MissingRuntimeArtifactException问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在发布模式下运行我的UWP应用程序时出现异常:


SightAndSay.DAL.dll中出现"System.Reflection.MissingRuntimeArtifactException"类型的异常但是未在用户代码中处理

解决方案

我怀疑你需要将它添加到你的Default.rd.xml文件

 

< Namespace Name =" SightAndSay.DAL " Serialize =" Required All" />

http://blogs.msdn.com/b/dotnet/archive/2014/05/21/net-native-deep- dive-help-i-hit-a-missingmetadataexception.aspx


I am getting an exception when running my UWP application in release mode:

An exception of type 'System.Reflection.MissingRuntimeArtifactException' occurred in SightAndSay.DAL.dll but was not handled in user code

解决方案

I suspect you need to add this to you Default.rd.xml file

<Namespace Name="SightAndSay.DAL" Serialize="Required All" />

http://blogs.msdn.com/b/dotnet/archive/2014/05/21/net-native-deep-dive-help-i-hit-a-missingmetadataexception.aspx


这篇关于[UWP]使用运行时指令解决MissingRuntimeArtifactException问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆