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

11

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?

c#
windows
asked on Stack Overflow Aug 26, 2012 by Joseph Anderson • edited Sep 27, 2013 by slugster

2 Answers

22

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"
answered on Stack Overflow Dec 28, 2014 by mico • edited Oct 26, 2016 by SSteve
0

I copied the files to C:\inpetpub\wwwroot and ran them from there. You cannot run the projects from pdf. VS 2012 cannot run files on a network share. I guess Paralells gets Mac files on a type of network share.

answered on Stack Overflow Oct 8, 2012 by Joseph Anderson

User contributions licensed under CC BY-SA 3.0