安装后VS 2019无法构建或创建任何项目。 VS 2017年,2015年工作正常。 [英] After installation VS 2019 cannot build or create any project. VS 2017, 2015 works ok.

查看:3583
本文介绍了安装后VS 2019无法构建或创建任何项目。 VS 2017年,2015年工作正常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了VS 2019 pro。

I installed VS 2019 pro.

当我在vs2019中打开现有项目时,我无法构建项目。该项目在VS2017中正常运行并构建


当我在VS2019中打开该项目时(刚刚创建并在VS2017中工作),项目未加载(在vs2019中)并出现此警告。

When I open existing project in vs2019, I cannot build project. The project works and builds correctly in VS2017.
When I open in VS2019 the project (just now clearly created and working in VS2017), project does not load (in vs2019) and this warning appears.


C:\ Users \ i。 CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj:error  :工具版本"15.0"无法识别。可用的工具版本是"12.0","14.0","2.0",
"3.5","4.0"。  C:\ Users \ik.CEBIA \source\repos \WebApplication1 \WebApplication1 \WebApplication1.csproj

当我手动更改时(在.csproj文件中) 

When I manually change (in .csproj file) 

推荐答案

朋友,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>> 版本  15.9.21.664  是
很奇怪。

>>The version 15.9.21.664 is strange.

就像你说的那样,因为我安装了它,所以很奇怪相同vs现在,版本如下:

Like you said, it's strange since I've installed the same vs now and the version is like below:

所以我想想你的IDE可能会出现问题。 

So I think maybe there has something broken with your IDE. 

以下是我的建议:

1。 Open vs installer => more =>修复你的VS2019以检查它是否有帮助

1. Open vs installer =>more=> repair your VS2019 to check if it helps

2。如果它不起作用,我建议你需要卸载vs2019并从
重新安装它这里(不确定你的安装程序有什么东西坏了,你可以从上面的链接安装它。)

2. If it not work, I suggest you need to uninstall vs2019 and reinstall it from here(Not sure if your installer has something broken, you can install it from the link above).

希望它有所帮助。如有任何更新,请随时与我们联系。

Hope it helps. Any update please feel free to contact us.

最好的问候

Lance


这篇关于安装后VS 2019无法构建或创建任何项目。 VS 2017年,2015年工作正常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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