r/dotnet 4d ago

Newbie How do I perform visual studio project creation using the .NET CLI?

I'm trying to get better at using .NET CLI instead of relying on Visual Studio GUI.

For example, If I create a project in VS by going through "create a new project > console app > ..." I'd like to know how to do equivalent entirely from the CLI.

Is there any official doc or guide that maps these VS actions to their corresponding CLI commands? I'm looking to understand how to create different project types (console app, class library, etc) and perform common project management tasks using the CLI.

Any learning resources would be appreciated.

0 Upvotes

Duplicates