Create a new empty solution
Add–> Existing Project --> select the project xx.csproj to import
Select a project
dotnet build
Then Unload-and then load the loading is complete.
If there is a package conflict, just comment that sentence directly.
If you build a non-empty Solution, you need to delete global.json in the directory to support multiple versions of C#