diff --git a/src/BaseTemplates/EmptyWeb/project.json b/src/BaseTemplates/EmptyWeb/project.json index 1e958f22..79f52460 100644 --- a/src/BaseTemplates/EmptyWeb/project.json +++ b/src/BaseTemplates/EmptyWeb/project.json @@ -30,13 +30,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "web.config" diff --git a/src/BaseTemplates/StarterWeb/project.json b/src/BaseTemplates/StarterWeb/project.json index 87a5f9c3..5b749fee 100644 --- a/src/BaseTemplates/StarterWeb/project.json +++ b/src/BaseTemplates/StarterWeb/project.json @@ -46,13 +46,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/BaseTemplates/WebAPI/project.json b/src/BaseTemplates/WebAPI/project.json index daef4556..a8680ec4 100644 --- a/src/BaseTemplates/WebAPI/project.json +++ b/src/BaseTemplates/WebAPI/project.json @@ -36,13 +36,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/Common/app.config b/src/Rules/Common/app.config new file mode 100644 index 00000000..49aadfaa --- /dev/null +++ b/src/Rules/Common/app.config @@ -0,0 +1,5 @@ + + + + + diff --git a/src/Rules/StarterWeb/AI/IndividualAuth/project.json b/src/Rules/StarterWeb/AI/IndividualAuth/project.json index c4df6806..689a8a12 100644 --- a/src/Rules/StarterWeb/AI/IndividualAuth/project.json +++ b/src/Rules/StarterWeb/AI/IndividualAuth/project.json @@ -79,13 +79,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/StarterWeb/AI/NoAuth/project.json b/src/Rules/StarterWeb/AI/NoAuth/project.json index 09a76035..6ad30a8f 100644 --- a/src/Rules/StarterWeb/AI/NoAuth/project.json +++ b/src/Rules/StarterWeb/AI/NoAuth/project.json @@ -48,13 +48,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/StarterWeb/AI/OrganizationalAuth/Multiple/Common/project.json b/src/Rules/StarterWeb/AI/OrganizationalAuth/Multiple/Common/project.json index 66944571..54137c78 100644 --- a/src/Rules/StarterWeb/AI/OrganizationalAuth/Multiple/Common/project.json +++ b/src/Rules/StarterWeb/AI/OrganizationalAuth/Multiple/Common/project.json @@ -56,13 +56,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/StarterWeb/AI/OrganizationalAuth/Single/Common/project.json b/src/Rules/StarterWeb/AI/OrganizationalAuth/Single/Common/project.json index 66944571..54137c78 100644 --- a/src/Rules/StarterWeb/AI/OrganizationalAuth/Single/Common/project.json +++ b/src/Rules/StarterWeb/AI/OrganizationalAuth/Single/Common/project.json @@ -56,13 +56,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/StarterWeb/IndividualAuth/project.json b/src/Rules/StarterWeb/IndividualAuth/project.json index 1ee62ed4..6c2f2cc2 100644 --- a/src/Rules/StarterWeb/IndividualAuth/project.json +++ b/src/Rules/StarterWeb/IndividualAuth/project.json @@ -78,13 +78,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/StarterWeb/OrganizationalAuth/Common/project.json b/src/Rules/StarterWeb/OrganizationalAuth/Common/project.json index ec9809b4..64089ed1 100644 --- a/src/Rules/StarterWeb/OrganizationalAuth/Common/project.json +++ b/src/Rules/StarterWeb/OrganizationalAuth/Common/project.json @@ -55,13 +55,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/WebAPI/AI/NoAuth/project.json b/src/Rules/WebAPI/AI/NoAuth/project.json index ced2382f..81adb0b0 100644 --- a/src/Rules/WebAPI/AI/NoAuth/project.json +++ b/src/Rules/WebAPI/AI/NoAuth/project.json @@ -37,13 +37,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/WebAPI/AI/OrganizationalAuth/Single/project.json b/src/Rules/WebAPI/AI/OrganizationalAuth/Single/project.json index 28706939..c8409bd8 100644 --- a/src/Rules/WebAPI/AI/OrganizationalAuth/Single/project.json +++ b/src/Rules/WebAPI/AI/OrganizationalAuth/Single/project.json @@ -45,13 +45,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/Rules/WebAPI/OrganizationalAuth/Single/project.json b/src/Rules/WebAPI/OrganizationalAuth/Single/project.json index 3fd51eba..5cc69996 100644 --- a/src/Rules/WebAPI/OrganizationalAuth/Single/project.json +++ b/src/Rules/WebAPI/OrganizationalAuth/Single/project.json @@ -44,13 +44,13 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, - +$if$ ($context$ == WebCore) "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, - +$endif$ "content": [ "wwwroot", "Views", diff --git a/src/TemplateRules.csproj b/src/TemplateRules.csproj index 88167af4..6958649e 100644 --- a/src/TemplateRules.csproj +++ b/src/TemplateRules.csproj @@ -191,6 +191,13 @@ $(Rules) .\ + + + + $(Rules) + .\ + diff --git a/src/Templates.xml b/src/Templates.xml index fb3b3ab4..b6dae98c 100644 --- a/src/Templates.xml +++ b/src/Templates.xml @@ -124,6 +124,9 @@ + + + + + + + + + @@ -378,5 +387,10 @@ + + + + +