c# – 注册的应用程序失败,因为文件在网络共享上.在注册包之前将文件复制到本地计算机

前端之家收集整理的这篇文章主要介绍了c# – 注册的应用程序失败,因为文件在网络共享上.在注册包之前将文件复制到本地计算机前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用这些示例来构建 Windows 8应用程序:

http://code.msdn.microsoft.com/windowsapps/Getting-started-with-C-and-41e15af5

(注意:该链接是陈旧的,这可能是正确的:Getting started with C# and Visual Basic: Hello World samples )

当我尝试运行Windows 8设备模拟器,我得到这个错误

Error 1 Error : DEP0700 : Registration of the app Failed. Rejecting a request to register from file://psf/Home/Desktop/Getting%20started%20with%20C#%20and%20Visual%20Basic%20Hello%20World%20and%20Blog%20reader%20samples%20(1)/C#/HelloWorld_Part1/bin/Debug/AppX/AppxManifest.xml because the files are on a network share. Copy the files to the local computer before registering the package. (0x80073cf9) HelloWorld_Part1

我在Mac上使用Paralells.什么文件夹不是网络共享?

解决方法

我正在使用Parallels与Windows 10映像和VS社区2013.
解决了上述@tempy提出的解决方案的问题:在启动配置中选择远​​程主机,并在以下屏幕中编写本地主机,当它要求机器名称时.
我可以照常运行,调试,设置断点

对于Visual Studio 2015:

>右键单击该项目
>选择属性
>选择调试设置
>在开始选项下

>将目标设备设置为“远程机器”>将远程机设置为“localhost”

原文链接:https://www.f2er.com/csharp/94328.html

猜你在找的C#相关文章