AssSoonAsPossiblee
AssSoonAsPossiblee

Reputation: 195

Visual Studio 2019/2022 Blank Solution template is not available, cannot be found via search, and is not visible. How can I create a blank solution?

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?

Here is my visual studio screenshot

Image that shows my Visual Studio Tools 1

Image that shows my Visual Studio Tools 2

Upvotes: 11

Views: 12865

Answers (8)

Joshua K
Joshua K

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

keytrap
keytrap

Reputation: 481

Just found this comment which resolved my problem with recent version of VS (17.5.0)

enter image description here

Upvotes: 6

A.J.Bauer
A.J.Bauer

Reputation: 3001

In Visual Studio 2022, select "Other"...

enter image description here

Upvotes: 7

NKl
NKl

Reputation: 83

You mighy want to try this button. It worked for me. enter image description here

Upvotes: 1

Artyom Ilyin
Artyom Ilyin

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

SparkieMember
SparkieMember

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

Ibrahim Issa Basha
Ibrahim Issa Basha

Reputation: 1

Don't search it the searcher's conclusion is not true just scroll you will findenter image description here it

Upvotes: 0

AssSoonAsPossiblee
AssSoonAsPossiblee

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

Related Questions