I created a windows 10 virtual box vm with Visual studio 2015 enterprise installed.
I tried to open an existing Visual Studio Website project solution in C:\sharedfolder\projectdirectory
(With symbolic link) or \\VBOXSVR\myapp
via virtualbox shared folder functionality, but it fails to open saying
"Creation of the virtual directory http://localhost:1849/ failed with the error: Filename: \?\UNC\VBOXSVR\myapp.vs\config\applicationhost.config Error: Cannot read configuration file"
If I copy the folder to C:\Code
it opens without any issues?
Any idea how I can solve this problem? I need it in the shared folder because I am using MAC OS to do javascript dev stuff, so its good to share that folder.
I tried this same solution and get the same result, I did some research and found this link that says that the shared folder shoud not be used as this
https://forums.virtualbox.org/viewtopic.php?f=2&t=62120
Text from the link:
GA Shared Folders are NOT a full implementation of file share, so things will break. It is only a mean to easily access files from host to guest, no use it as a workspace location for dev programs. Use a real network share instead.
This issue also occurs with VMWare Virtual Machine drive mappings.
I received this error when opening a working ASP project from a VMware virtual share:
Creation of the virtual directory failed with the error: Filename/... Error: Cannot read configuration file
Other suggestions which did not help:
All other, non-virtually mapped ASP projects, loaded correctly.
The core of the problem is that the virtual mapped drive causes incorrect references in the path of Visual Studio.
In my case the virtual drive was "Z" - “\?\Z:\Misc\"\applicationhost.config.
Solution: Move the project out of any virtual drive and into a local drive. If you are using Team Services, remap the project to that local directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With