Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 C# 开发一个 XBAP 应用程序,并且希望能够使用 System.Deployment 对象方法。在对象浏览器中,我可以看到所有对象,当我尝试通过代码访问这些方法时,它不起作用并指出这些方法不在名称空间中。
有什么建议么?
不确定这是否是您的问题,但您的 XBAP 是否在“完全信任模式”下运行?
默认情况下,XBAP 是沙盒...
这是一篇关于如何让您的 XBAP 完全信任的文章
更多信息