Last modified: 2024-03-17


.NET is an application development environment.

Create a .NET Project from Command Line

# Create a new solution file
# -n: The name for the output being created
dotnet new sln -n test

# Create a new .NET project.
# console: Use a template for creating a console application.
dotnet new console -n test

# Add the project to a solution file.
dotnet sln add test/test.csproj