Topic:   What are the commands for a compiler and interpreter for C# dotnet core?
Apr 20, 2021 11:56 1 Replies 725 Views KRISHNA SWAROOP

What are the commands for a compiler and interpreter for C# dotnet core?

Prev Next
Topic Replies (1)
  1. 1
    idnkx user

    TEJA

    Below are the commands –
    dotnet new console: creates a new console application project
    dotnet new classlib: creates a new assembly library project
    dotnet new web: creates a new empty ASP.NET Core project
    dotnet new mvc: creates a new ASP.NET Core MVC project
    dotnet new webapi: creates a new ASP.NET Core Web API project
    dotnet restore: downloads dependencies for the project
    dotnet build: compiles the project
    dotnet test: runs unit tests on the project
    dotnet run: runs the project
    dotnet migrate: migrates a .NET Core project created with the preview CLI tools to the current CLI tool MS Build format
    dotnet pack: creates a NuGet package for the project
    dotnet publish: compiles and publishes the project, either with dependencies or as a self-contained application

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect