. /src, . CLI :
cd /c/code/repo
dotnet restore /src/solution.sln
dotnet build /src/solution.sln
dotnet run /src/project/project.csproj
2 , CLI .NET Core 2.0 .SetBasePath(env.ContentRootPath) , . , CLI.
:
Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'appsettings.json' was not found and is not optional. The physical path is 'C:\code\repo\appsettings.json'.
, , - , :
cd /src/project
dotnet run project.csproj
, , /src, .sln, .
CLI.