This tip originates from the MSBuild team as a way to edit your MSBuild project file within the IDE to customize your build. But if you have any reason for editing your project file (including a C++ project), and don’t want to go to Notepad, this tip is for you.
1. On the Solution Explorer context menu, select Unload Project. This will put the project into an unavailable state.
2. Right-click the unavailable project, and select Edit ConsoleApplication1.csproj
3. Now you can make whatever customizations in the file
4. When you’re finished, simply bring up the Solution Explorer context menu for the project, and select Reload project.
5. And select Yes, that you want to close the already opened .csproj. (because you want to reopen it not in an editor). If you say No, VS just looks at you.