简体   繁体   English

"我可以卸载 Visual Studio 2017 并仍然在 Visual Studio 2019 中使用 2017 平台工具集吗?"

[英]Can I uninstall visual studio 2017 and still use the 2017 platform toolset in visual studio 2019?

IIRC, you used to have to have a prior version installed in order to build using that tool set, but from what I gather now the platform tools are optionally installed with the newer version. IIRC,您过去必须安装以前的版本才能使用该工具集进行构建,但从我现在收集的信息来看,平台工具可以选择安装新版本。 At the time I installed 2019, I was using the 2017 version, I still have lots of projects using the 2017 platform tool set even though I only use vs2019.安装2019的时候,我用的是2017版本,虽然我只用vs2019,但还是有很多项目使用2017平台工具集。

So my question is if I can now uninstall VS2017 and continue to build using that platform toolkit in VS2019?所以我的问题是我现在是否可以卸载 VS2017 并继续在 VS2019 中使用该平台工具包进行构建?

TIA!!蒂亚!!

"

Yes, you can, but not the way you think.是的,你可以,但不是你想的那样。 The vc141 toolkit (VS2017) also comes with 2019 and you have to install it separately. vc141工具包(VS2017)也是2019自带的,需要单独安装。

  • uninstall VS2017 completely完全卸载VS2017
  • open the Visual Studio Installer打开 Visual Studio 安装程序
  • click "modify" on the 2019 instance在 2019 实例上单击“修改”
  • go to "invidual components"转到“单个组件”
  • enter "v141" in the search field在搜索字段中输入“v141”
  • install all components you need安装您需要的所有组件

IOW: The platform and toolkit for VS2017 are also contained in VS2019. IOW:VS2017 的平台和工具包包含在 VS2019 中。

Now you can choose "v141" in the "Toolkit" property and you can even mix and match.现在您可以在“工具包”属性中选择“v141”,甚至可以混搭。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio:如果我卸载 VS2017,平台工具集仍然是 VS2019 中的一个选项吗? - Visual Studio: If I uninstall VS2017 will the platform toolset still be an option in VS2019? 无法安装或卸载 Visual Studio 2017 - Can't install or uninstall Visual Studio 2017 Visual Studio 2017 到 Visual Studio 2019 - Visual Studio 2017 to Visual Studio 2019 我可以在Visual Studio 2017 Professional Edition上使用现有的Visual Studio 2017工作负载(来自社区版)吗? - Can I use existing Visual Studio 2017 Workloads (from Community Edition) on a Visual Studio 2017 Professional Edition? 我能知道为什么 Visual Studio 2017 存档与 Visual Studio 2019 不同吗 - Can i know why Visual Studio 2017 archive is different from Visual Studio 2019 我可以还是不能在Visual Studio 2017中使用外接程序管理器? - Can I or can I not use addin manager in visual studio 2017? 应用程序配置为使用 IIS (Visual Studio 2017/2019) - The Application is configured to use IIS (Visual Studio 2017/2019) 如何在 Visual Studio 2017 中使用 C# 8? - How can I use C# 8 with Visual Studio 2017? Visual Studio 2017 VC ++平台工具集v141比v100慢,为什么? - Visual Studio 2017 VC++ platform toolset v141 slower than v100, why? 无法卸载Visual Studio 2015预览版和Visual Studio 2017 RC - Failed to uninstall Visual Studio 2015 Preview and Visual Studio 2017 RC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM