I am trying to debug a project in Microsoft Visual Studio 2015 running in Windows virtual machine, and the registration fails with the error:
Error : DEP0700 : Registration of the app failed. Rejecting a request to register from \\[path to file] because the files are on a network share. Copy the files to the local computer before registering the package. (0x80073cf9)
Parallels Desktop Sharing Profile are enabled in the virtual machine's configuration by default. That's why the Documents folder of your Windows user account is "looking" into OS X Documents folder, being a network share folder.
You may disable sharing options for the Documents folder of your Windows virtual machine:
Open virtual machine's configuration window -> Options -> Sharing -> Configure... -> uncheck the Documents folder and click OK.
Sign off your Windows user account and sign back in to apply changes.
- Now your Documents in Windows are stored within the virtual machine's hard drive.
Open Visual Studio's preferences -> Configuration Properties -> Debugging -> in the Debugger at launch: field choose Remote Machine -> set the Machine Name value to localhost
Select Remote Machine in the debugger switch field: