Skip to content

gurustron/templates-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

templates-repro

On windows machine in cmd:

This will work:

set PROJECT_NAME=TestWorks
mkdir %PROJECT_NAME% && cd %PROJECT_NAME% && dotnet new sln && dotnet new test-add-sln-works -n %PROJECT_NAME% 

Fails if the source code is put to nested directory (tries to add to "TestFailsNestedDir\AddFailsNestedDir.csproj", not replacing project name):

set PROJECT_NAME=TestFailsNestedDir
mkdir %PROJECT_NAME% && cd %PROJECT_NAME% && dotnet new sln && dotnet new test-add-sln-nested-fails -n %PROJECT_NAME% 

Different behavior if postaction.args.primaryOutputIndexes is omitted (tries to add "AddFailsOptIndex.csproj" instead of "TestFailsOutInd\TestFailsOutInd.csproj" as first one will do):

set PROJECT_NAME=TestFailsOutInd
mkdir %PROJECT_NAME% && cd %PROJECT_NAME% && dotnet new sln && dotnet new test-add-sln-outind-fails -n %PROJECT_NAME% 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages