Reputation: 195
I am using Visual Studio 2019 for a C# bootcamp. The tutor can create a blank solution with some steps but When I apply the same steps, I can not see Blank Solution. How Can I create a Blank Solution?
Any Help?
Upvotes: 11
Views: 12865
Reputation: 527
I believe it's also a bug that persists to Visual Studio 2022. I too was unable to find a Blank Solution option in Visual Studio 2022.
What finally worked for me: I created a blank solution in a prior version (Visual Studio 2019 in my case) and opened it in Visual Studio 2022.
Bonus Tip: Save the newly opened solution in Visual Studio 2022 as a Project Template. Use your custom project template to create a new solution.
Things I tried that didn't work: Selecting "Other", clearing the search, scrolling through all of them, closing and re-opening Visual Studio, restarting the computer. I already had .NET Framework project and templates selected.
Upvotes: 1
Reputation: 481
Just found this comment which resolved my problem with recent version of VS (17.5.0)
Upvotes: 6
Reputation: 151
We can use cli in this situation
The following example creates a .sln file in the current folder, with the same name as the folder:
dotnet new sln
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln
Upvotes: 15
Reputation: 51
That happened to me earlier on. If the blank solution option doesn't show or it says it cannot be found as a result of your search. Just close down Visual Studio and reopen it and should reappear.
Upvotes: 4
Reputation: 1
Don't search it the searcher's conclusion is not true just scroll you will findenter image description here it
Upvotes: 0
Reputation: 195
I guess it's a bug about Visual Studio 2019. After 4 hours I restart my pc and reopen the Visual Studio for finding a solution. Despite I did not change anything, The Blank Solution part appears.
Upvotes: 2