admin管理员组文章数量:1392047
I have Visual Studio 2022, 17.6.0, and Tools 14.36.32532.
Now on CI agent I need to downgrade (please don't ask for reasons) on 14.35. I tried that with vcvars tool
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build>vcvarsall.bat x86_x64 -vcvars_ver=14.35
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.6.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[ERROR:vcvars.bat] Toolset directory for version '14.35' was not found.
I also tried to install only this VC Tools to 14.35 but it didn't work.
vs_installer.exe modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Professional"
--add Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.Spectre
–-add Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.Spectre
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
It is of the highest importance that because this is CI pipeline I am able to switch from the cloud agent version to older version (these are cloud machines without direct access to servers, we are using free versions of the GitHub agents). How I can quickly return to some previous version of the VC Tools? Through the terminal not UI.
本文标签: In Visual Studio how to install older version of VC Tools through the terminalStack Overflow
版权声明:本文标题:In Visual Studio how to install older version of VC Tools through the terminal? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744782583a2624801.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论