简体   繁体   English

Visual Studio不会打开C#项目

[英]Visual Studio won't open C# projects

Starting from yesterday, whenever I try to open a C# project (.csproj) in visual studio 从昨天开始,每当我尝试在visual studio中打开一个C#项目(.csproj)时
I get this 3 times: 我得到这3次:
在此输入图像描述
And then I get this 1 time: 然后我得到这一次:
在此输入图像描述
And thus it doesn't open the project. 因此它不会打开项目。
This doesn't appear when opening C++ or VB projects, only C# 打开C ++或VB项目时不会出现这种情况,只有C#

I have tried running the application with parameters like /resetsettings and /resetskippkgs but it didn't do. 我尝试使用/ resetsettings和/ resetskippkgs等参数运行应用程序,但它没有。

Please help me solve the problem 请帮我解决问题

Your Visual Studio install has become corrupted. 您的Visual Studio安装已损坏。 Reinstall Visual Studio ("Repair" should work ) and it should fix itself. 重新安装Visual Studio(“修复”应该工作),它应该自行修复。

  1. Reinstall VS. 重新安装VS.
  2. Try to open another project and see if you can open it, if it opens, copy the source files to the new project and continue as usually. 尝试打开另一个项目并查看是否可以打开它,如果它打开,将源文件复制到新项目并继续执行。
  3. What version of VS are u using? 您使用的是什么版本的VS?

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM