Created
December 9, 2018 13:44
-
-
Save subhendu-de/70012b330cd1b7df1a24f4dc8ed02c5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir eKart | |
cd eKart | |
REM creates an empty solution | |
dotnet new sln --name eKart | |
REM creates a folder for .NET Core 2.1 | |
mkdir netcore21 | |
cd netcore21 | |
mkdir src | |
cd src | |
REM creates an ASP.NET Core web api project | |
dotnet new webapi --name eKart.Api | |
REM coming out of src | |
cd.. | |
REM coming out of netcore21 | |
cd.. | |
REM adds both the projects to the solution | |
dotnet sln add .\netcore21\src\eKart.Api\eKart.Api.csproj | |
dotnet restore .\netcore21\src\eKart.Api\eKart.Api.csproj | |
dotnet build .\netcore21\src\eKart.Api\eKart.Api.csproj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment