In fact, this problem has long been discovered and written on the blog by my good friend, and I have encountered this problem frequently recently. I also know the solution, I just don't know if many of my friends are also troubled by this problem. Finally, we found that this was a low-level error.
An error occurred while trying vs to open a solution, as shown in:
The reason for this is actually very simple. If you open this file carefully, you will find that the open method of the project file is no longer Visual Studio when selecting the open method from the list, instead, micrisoft Visual Studio version selector. therefore, the solution is to use Visual Studio to open the project file and choose to always use it. This will not happen next time. So what causes the association of opening project files to be tampered? There may be many reasons. I am afraid the most common reason is to install the SQL Server 2005 database. This happens every time I install the SQL Server 2005 database.
Solution: Right-click the file ending with csproj, select "attribute" and "open mode", locate it to the EXE file of vs2008, and click "OK ".