Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Registration of app failed because the files are on a network share. Copy the files to the local computer before registering the package

Tags:

c#

windows

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

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

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

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

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

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

like image 261
Joseph Anderson Avatar asked Aug 26 '12 01:08

Joseph Anderson


1 Answers

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

For Visual Studio 2015:

  • Right-click the project
  • Select Properties
  • Select the Debug settings
  • Under Start options
    • Set Target Device to "Remote Machine"
    • Set Remote machine to "localhost"
like image 153
mico Avatar answered Oct 04 '22 22:10

mico