应用程序注册失败,因为文件位于网络共享上.在注册包之前将文件复制到本地计算机 [英] Registration of app failed because the files are on a network share. Copy the files to the local computer before registering the package

查看:25
本文介绍了应用程序注册失败,因为文件位于网络共享上.在注册包之前将文件复制到本地计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用这些示例来构建 Windows 8 应用程序:

I am using these examples to build a Windows 8 app:

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

(注意:该链接已失效,这可能是正确的链接:C# 和 Visual Basic 入门:Hello World 示例 )

(note: that link is stale, this is potentially the correct one: Getting started with C# and Visual Basic: Hello World samples )

当我尝试运行 Windows 8 设备模拟器时,出现此错误:

When I try and run the Windows 8 device emulator, I get this error:

错误 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_Part1

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 上使用 Parallels.什么文件夹不是网络共享?

I am using Paralells on a Mac. What folder is not a network share?

推荐答案

我将 Parallels 与 Windows 10 映像和 VS Community 2013 一起使用.我用上面@tempy 提出的解决方案解决了这个问题:在启动配置中选择远​​程主机并在下面的屏幕中写入 localhost,当它询问机器名称时.我可以像往常一样运行、调试、设置断点

I am using Parallels with a Windows 10 image and VS Community 2013. I solved the problem with the solution proposed by @tempy above: choosing remote host in the launch configuration and writing localhost in the following screen, when it asks for the machine name. I am able to run, debug, set breakpoints, as usual

对于 Visual Studio 2015:

  • 右键单击项目
  • 选择属性
  • 选择调试设置
  • 开始选项
    • 目标设备设置为远程机器"
    • 远程机器设置为localhost"
    • Right-click the project
    • Select Properties
    • Select the Debug settings
    • Under Start options
      • Set Target Device to "Remote Machine"
      • Set Remote machine to "localhost"

      这篇关于应用程序注册失败,因为文件位于网络共享上.在注册包之前将文件复制到本地计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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