Running a .NET Core application

To run a .NET Core application, you can use the dotnet run command from the console window. As it relies on the dotnet build command, when you specify a project to run, it automatically builds the project and then launches the application.

To run an app in the project context, enter the following command:

    dotnet run --project <ProjectPath>  

If you already have a portable application DLL, you can run it directly by executing the DLL by the dotnet driver without specifying any command. For example, the following command runs the already available DLL built against .NET Core 1.0:

    dotnet "Demo AppinDebug
etcoreapp1.0Demo App.dll"  

Please refer the following screenshot:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.127.141