Just ran into this so I figured I’d post the solution I had to figure out myself.
After making a new project, Visual Studio will appear to not open it, so you’ll be tempted to go and open it. Don’t, check the status bar first. It is probably generating an analysis file. If you try and open the project when it is doing this, Visual Studio will error out and close your solution.
The project will open on its own when the process is complete.