VirtualBox上的共享文件夹无法通过Visual Studio 2015打开(网站项目) [英] Shared folder on VirtualBox not opening with Visual Studio 2015 (Website project)

查看:122
本文介绍了VirtualBox上的共享文件夹无法通过Visual Studio 2015打开(网站项目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个安装了Visual Studio 2015 Enterprise的Windows 10虚拟盒虚拟机。

I created a windows 10 virtual box vm with Visual studio 2015 enterprise installed.

我试图在 C:\sharedfolder\project目录(带有符号链接)或 \\VBOXSVR\myapp 通过virtualbox共享文件夹功能,但是

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


创建虚拟目录 http:// localhost:1849 / 失败,并显示以下错误:文件名:\?\UNC\VBOXSVR\myapp.vs\config\applicationhost.config
错误:无法读取配置文件

"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"

如果我将文件夹复制到 C:\Code 它打开没有任何问题吗?

If I copy the folder to C:\Code it opens without any issues?

有什么办法可以解决这个问题吗?我需要在共享文件夹中使用它,因为我正在使用MAC OS进行javascript dev的工作,因此共享该文件夹非常有用。

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

链接中的文本:


GA共享文件夹不是文件共享的完整实现,因此会中断。这只是轻松地从主机访问来宾的文件的一种方法,而不是将其用作开发人员程序的工作区位置。
改为使用真实的网络共享。

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.

这篇关于VirtualBox上的共享文件夹无法通过Visual Studio 2015打开(网站项目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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