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

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

问题描述

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

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

我尝试通过 virtualbox 共享文件夹在 C:sharedfolderprojectdirectory(带符号链接)或 \VBOXSVRmyapp 中打开现有的 Visual Studio 网站项目解决方案功能,但它无法打开说

I tried to open an existing Visual Studio Website project solution in C:sharedfolderprojectdirectory (With symbolic link) or \VBOXSVRmyapp via virtualbox shared folder functionality, but it fails to open saying

"创建虚拟目录 http://localhost:1849/ 失败,错误为:文件名:?UNCVBOXSVRmyapp.vsconfigapplicationhost.config错误:无法读取配置文件"

"Creation of the virtual directory http://localhost:1849/ failed with the error: Filename: ?UNCVBOXSVRmyapp.vsconfigapplicationhost.config Error: Cannot read configuration file"

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

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

知道如何解决这个问题吗?我需要在共享文件夹中使用它,因为我使用 MAC OS 来执行 javascript 开发工作,因此共享该文件夹很好.

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天全站免登陆