如何将Visual Studio 2017和组件安装到另一个驱动器上? [英] How to install Visual Studio 2017 and components to another drive?

查看:141
本文介绍了如何将Visual Studio 2017和组件安装到另一个驱动器上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个只有2-3 GB可用空间的小型SSD驱动器.我需要.NET桌面和C ++桌面工作负载.我尝试创建脱机安装程序,但效果很好,并尝试了-installPath选项,但它只影响Studio本身和其他一些组件,而不会影响Windows SDK和.NET SDK,它们会安装到系统驱动器中.

I have a small SSD drive with only 2-3 GB free space. I need the .NET desktop and C++ desktop workloads. I tried creating offline installer, that went fine and I tried -installPath option, but it only affects the studio itself and some other components but not the Windows SDK and .NET SDK, those get installed to system drive.

我确实将Windows SDK和.NET SDK安装到了不同的驱动器,但是我必须为每个驱动器使用独立的安装程序.我想知道VS 2017附带的安装程序是否可以实现.

I did install Windows SDK and .NET SDK's to to different drive but I had to use standalone installers for each. I was wondering if it is possible to accomplish with the installer that VS 2017 comes with.

推荐答案

否,VS安装程序仅允许您指定VS实例的软件包的安装位置(即进入文件夹的所有内容) 选择).当前,它不允许您指定其他全局软件包的安装位置.

No, the VS installer only allows you to specify where packages for that instance of VS are installed (i.e. anything that goes into the folder that you do get to choose). It does not currently allow you to specify where other global packages are installed.

这篇关于如何将Visual Studio 2017和组件安装到另一个驱动器上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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