Guest User

Untitled

a guest
May 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. param(
  2. [string]$SolutionName
  3. )
  4.  
  5. dotnet new sln -n $SolutionName
  6. dotnet new console -n $SolutionName
  7. dotnet new xunit -n "$SolutionName.UnitTests"
  8. dotnet add "$SolutionName.UnitTests\$SolutionName.UnitTests.csproj" reference "$SolutionName\$SolutionName.csproj"
  9. dotnet sln "$SolutionName.sln" add "$SolutionName\$SolutionName.csproj"
  10. dotnet sln "$SolutionName.sln" add "$SolutionName.UnitTests\$SolutionName.UnitTests.csproj"
Add Comment
Please, Sign In to add comment