When running a new project that I plan to change given by others, the following error pops up. Let me
tell you the reason first, because the project given by others is for C#, but my VS did not check the C# environment during installation, which means that at this time my VS cannot run C# code. This error pops up because it lacks the necessary SDK to run C#.
Once you know the principle, the solution is simple. Open the Visual Studio Installer, and then add the environment you need. You may not need C#. It just depends on what environment your project uses.
first step
second step
Another problem is that the generation tools for Visual Studio 2012 (Platform Toolset="v110") cannot be found.
This is because of a version problem. Just reset the project, or there will be a pop-up window when opening the project. It probably means that the code was written by an old version of VS and asks you if you want to upgrade. Just select true.