List of important .net core commands for build and run the projects.

Nuthan Murarysetty
1 min readMay 21, 2020

Hi Readers,

Here the list of important .net core commands to kick start .net core. All these below commands are basic ones which used to set up and run .net core applications.

1. To see the information of Dotnet core,
dotnet — info

2. To see a version of .net core
dotnet — version

3. To create a new project template
dotnet new <projectType>
Ex: console, NUnit, and many more.

4. To restore the libraries
dotnet restore

5. To run the application
dotnet run

6. To see list of available commands in .net core
dotnet — help

7. To give a name for the project
dotnet new console -o <ProjectOutputFolder>
Ex: dotnet new console -o DotnetDemos

8 . To build the Project
dotnet build

9. To run a specific project
dotnet run — project <projectName>
Ex: dotnet run — project StudentDetails

Try these commands and let us know your comments and share this article to your beloved persons.

Happy Coding :)

Originally published at https://techinuthan.blogspot.com.

--

--

Nuthan Murarysetty

I love sharing things what I know to others and passionate in photography.