首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将Visual Studio 2019降级回Visual Studio 2017

将Visual Studio 2019降级回Visual Studio 2017
EN

Stack Overflow用户
提问于 2019-11-19 13:58:45
回答 1查看 2.7K关注 0票数 2

在StackOverflow上,有很多关于将解决方案从Visual Studio2017升级到Visual Studio2019的答案。但是我如何降级回Visual Studio 2017呢?当我尝试在Visual Studio 2017中构建项目时,我收到以下错误:

代码语言:javascript
复制
Error MSB8020.  
The build tools for v142 (Platform Toolset = 'v142') cannot be found. To build using the v142 build tools, please install v142 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

在此之前,我在解决方案中使用了Visual Studio 2019,它工作得很好。但现在我不得不使用Visual Studio 2017,不出所料,我遇到了错误。有没有办法修复它,而不是手动重新创建解决方案?谢谢你的建议!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-11-19 14:06:37

这个问题与你的MSBuilder有关,请在Visual Studion中重新检查MSBulder的版本,有时它可能仍然支持vs2019。

您可以在您的项目中将其更改为:项目->属性->常规->平台Tool_set,并更改为您的VS的当前版本。

我认为这会有帮助。!

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58927551

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档