[Visual Studio] The solution is not saved, please save your solution first. How to solve it?

Usually it is caused by opening this project through the .csproj file

insert image description here

The solution is as follows, if there is a .sln solution file, open it through the .sln file, if not, save the .sln file first and open it.

1. Click "File" in the upper left corner

insert image description here

2. Click Save All or the shortcut key Ctrl+Shift+S to save

insert image description here

3. Select the save location and open it

Guess you like

Origin blog.csdn.net/qq_30163099/article/details/126815887