将Visual Studio安装到外部硬盘驱动器,内置硬盘驱动器的空间有限 [英] Installing Visual Studio to an External hard Drive with the Internal Hard drive having limited Space
问题描述
我的计算机上没有任何空间,外部硬盘是我唯一的出口!
I do not have any space on my computer and the external ,hard drive is my only outlet!
推荐答案
嗨Innovator775,
Hi Innovator775,
欢迎来到MSDN论坛。
Welcome to MSDN forum.
您可以将visual studio安装到另一个硬盘驱动器,但是大约75%的文件都是按设计安装到System文件夹的其他25%安装到自定义安装路径。
You can install visual studio to another hard Drive, but about 75% of the files get installed to System folder by design and the other 25% gets installed to custom install path.
在反馈
,JoséAntoniodas Neves Neto提供了一个建议,以防止将visual studio安装到系统驱动器:
In the feedback , José Antonio das Neves Neto provide a suggestion to prevent visual studio from being installed to system drive:
Think它作为深度嵌套在文件系统中的文件夹的快捷方式。您可以将它放在桌面上,但是当您实际打开它时,您会发现它的路径类似于
< letter> \ my\ deep\目的 。
所以为了做到这一点,你需要做的就是如下:
- 以管理员身份打开命令行(您可以输入" cmd "并右键点击它以管理员身份运行
- 输入 mklink / J"C:\Program Files(x86)\ Microsoft Visual Studio 11.0""E:\Program Files(x86)\ Microsoft Visual Studio 11.0"
;
- Open command line as an administrator (you can type "cmd" and right click on it to run as admin)
- Enter mklink /J "C:\Program Files (x86)\Microsoft Visual Studio 11.0" "E:\Program Files (x86)\Microsoft Visual Studio 11.0"
- J 标志表示您正在创建目录连接(在此处查看更多信息)
- 第一条路径是VS尝试自行安装的地方
- 第二条路径是您所在的位置希望它被安装
- Where the J flag indicates you’re creating a directory junction (see more here)
- The first path is where VS is trying to install itself
- The second path is where you want it to be installed
您现在会注意到它的全部内容(除了它添加到注册表中的内容)将安装在您首选的驱动器上。
祝你好运,
Joyce
这篇关于将Visual Studio安装到外部硬盘驱动器,内置硬盘驱动器的空间有限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!