我使用这些示例来构建 Windows 8 应用程序:
http://code.msdn.microsoft.com/windowsapps/Getting-started-with-C-and-41e15af5 http://code.msdn.microsoft.com/windowsapps/Getting-started-with-C-and-41e15af5
(注意:该链接已过时,这可能是正确的链接:C# 和 Visual Basic 入门:Hello World 示例 http://code.msdn.microsoft.com/windowsapps/Getting-started-with-C-and-aec28023 )
当我尝试运行 Windows 8 设备模拟器时,出现以下错误:
错误 1 错误:DEP0700:应用程序注册失败。拒绝来自 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,因为这些文件位于网络共享上。在注册包之前将文件复制到本地计算机。 (0x80073cf9)HelloWorld_第1部分
我在 Mac 上使用 Parallels。什么文件夹不是网络共享?
我正在将 Parallels 与 Windows 10 映像和 VS Community 2013 一起使用。
我使用上面 @tempy 提出的解决方案解决了这个问题:在启动配置中选择远程主机,并在询问计算机名称时在以下屏幕中写入 localhost 。
我能够像往常一样运行、调试、设置断点
对于 Visual Studio 2015:
- 右键单击项目
- 选择属性
- 选择调试设置
- Under Start options
- Set 目标设备到“远程机器”
- Set 远程机到“本地主机”
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)