【发布时间】:2012-09-29 00:04:48
【问题描述】:
我使用 Parallels 在 VM 上模拟 Windows 8。为了简单和连贯,我将所有开发者项目都存储在 Mac 的分区上。
当我尝试构建运行此网络共享的应用程序 (Visual Studio 2012) 时,我收到以下编译时错误:
Error 1 Error : DEP0700 : Registration of the app failed. Rejecting a request to register from file:///Z:/Users/MY_USER_NAME/Sites/App1/App1/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) App1
有谁知道如何解决这个问题?我需要告诉 Visual Studio 2012 我的网络共享是受信任的设备,或者至少欺骗它认为项目位于本地驱动器中。无论如何在 Windows 中创建符号链接?
在 Visual Studio 2010 中,我解决了这个网站上所述的问题:http://www.sehajpal.com/index.php/2010/10/how-to-solve-loadfromremotesources-error-in-vs-2010/
感谢您的帮助!
【问题讨论】:
-
对 VS 2012 也不起作用吗?
-
您的里程数会因您正在开发的应用类型而异。就我而言,我正在开发一个 Windows 8 Metro 应用程序。在编译应用程序时,Windows 会对应用程序进行签名,从而允许它被隐式安装。由于安全问题,如果您正在运行网络共享,这将不起作用。如果您有任何疑问,请查看我在下面发布的链接。快速解决方案是告诉 Windows 您正在运行该应用程序。远程。
-
stackoverflow.com/questions/12126918/… 中的简单答案。确认可以在 VS2017 中工作。
标签: c# visual-studio-2010 visual-studio virtual-machine network-share