From 29c40a2efd0dc99b99eebf219ae4fe6c4035a291 Mon Sep 17 00:00:00 2001 From: Peter Blazejewicz Date: Sat, 21 May 2016 11:32:24 +0200 Subject: [PATCH] :bug: Correct GC Server configuration. Fixes #727 See aspnet/Templates#575 for details. This commit introduces fix from aspnet/Templates to generator content Thanks! --- templates/projects/emptyweb/project.json | 4 +++- templates/projects/web/project.json | 4 +++- templates/projects/webapi/project.json | 4 +++- templates/projects/webbasic/project.json | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/templates/projects/emptyweb/project.json b/templates/projects/emptyweb/project.json index c95809f5..6940a2c6 100644 --- a/templates/projects/emptyweb/project.json +++ b/templates/projects/emptyweb/project.json @@ -31,7 +31,9 @@ }, "runtimeOptions": { - "gcServer": true + "configProperties": { + "System.GC.Server": true + } }, "publishOptions": { diff --git a/templates/projects/web/project.json b/templates/projects/web/project.json index 26cd32a0..6cf408c6 100755 --- a/templates/projects/web/project.json +++ b/templates/projects/web/project.json @@ -85,7 +85,9 @@ }, "runtimeOptions": { - "gcServer": true + "configProperties": { + "System.GC.Server": true + } }, "publishOptions": { diff --git a/templates/projects/webapi/project.json b/templates/projects/webapi/project.json index 4d2b9b4a..5f8dc9af 100644 --- a/templates/projects/webapi/project.json +++ b/templates/projects/webapi/project.json @@ -38,7 +38,9 @@ }, "runtimeOptions": { - "gcServer": true + "configProperties": { + "System.GC.Server": true + } }, "publishOptions": { diff --git a/templates/projects/webbasic/project.json b/templates/projects/webbasic/project.json index 28abc84f..78d9e089 100755 --- a/templates/projects/webbasic/project.json +++ b/templates/projects/webbasic/project.json @@ -48,7 +48,9 @@ }, "runtimeOptions": { - "gcServer": true + "configProperties": { + "System.GC.Server": true + } }, "publishOptions": {