Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions Content/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,16 @@
"includeTest": {
"type": "parameter",
"datatype": "bool",
"description": "If specified, skip importing the test project included on the template.",
"description": "Include the test project in the template. Default is true.",
"defaultValue": "true"
}
},
"primaryOutputs": [
{
"condition": "(includeTest)",
"path": "tests/CarterService.Tests.csproj"
},
{
"path": "CarterService.sln"
}
],
"postActions": [
{
"condition": "(includeTest)",
"description": "Add tests to solution.",
"actionId": "D396686C-DE0E-4DE6-906D-291CD29FC5DE",
"continueOnError": true
},
{
"condition": "(!skipRestore)",
"description": "Restore NuGet packages required by this project.",
Expand Down
4 changes: 4 additions & 0 deletions Content/CarterService.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitignore = .gitignore
EndProjectSection
EndProject
#if (includeTest)
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CarterService.Tests", "tests\CarterService.Tests.csproj", "{BD70CCCF-83F5-4AC2-94EE-D02ECC05212B}"
EndProject
#endif
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -23,10 +25,12 @@ Global
{990C30E7-F5A2-4AD8-9F80-BD0D18E9AD4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{990C30E7-F5A2-4AD8-9F80-BD0D18E9AD4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{990C30E7-F5A2-4AD8-9F80-BD0D18E9AD4C}.Release|Any CPU.Build.0 = Release|Any CPU
#if (includeTest)
{BD70CCCF-83F5-4AC2-94EE-D02ECC05212B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD70CCCF-83F5-4AC2-94EE-D02ECC05212B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD70CCCF-83F5-4AC2-94EE-D02ECC05212B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD70CCCF-83F5-4AC2-94EE-D02ECC05212B}.Release|Any CPU.Build.0 = Release|Any CPU
#endif
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down