From 5f034754e9dd87f8147cc1eb5e91adb380def414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Tue, 26 Apr 2016 16:09:05 +0200 Subject: [PATCH] Update web.config and add publish tool --- samples/Mvc.Client/project.json | 11 +++++++++++ samples/Mvc.Client/web.config | 4 ++-- samples/Mvc.Server/project.json | 11 +++++++++++ samples/Mvc.Server/web.config | 4 ++-- 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/samples/Mvc.Client/project.json b/samples/Mvc.Client/project.json index 5a66e8b2..ba298bb3 100644 --- a/samples/Mvc.Client/project.json +++ b/samples/Mvc.Client/project.json @@ -39,6 +39,17 @@ } }, + "tools": { + "Microsoft.AspNetCore.Server.IISIntegration.Tools": { + "version": "1.0.0-*", + "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + } + }, + + "scripts": { + "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" + }, + "content": [ "wwwroot", "Views", diff --git a/samples/Mvc.Client/web.config b/samples/Mvc.Client/web.config index 98bc676e..f7ac6793 100644 --- a/samples/Mvc.Client/web.config +++ b/samples/Mvc.Client/web.config @@ -2,8 +2,8 @@ - + - + \ No newline at end of file diff --git a/samples/Mvc.Server/project.json b/samples/Mvc.Server/project.json index 50f2b843..54af75cf 100644 --- a/samples/Mvc.Server/project.json +++ b/samples/Mvc.Server/project.json @@ -43,6 +43,17 @@ } }, + "tools": { + "Microsoft.AspNetCore.Server.IISIntegration.Tools": { + "version": "1.0.0-*", + "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + } + }, + + "scripts": { + "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" + }, + "content": [ "wwwroot", "Views", diff --git a/samples/Mvc.Server/web.config b/samples/Mvc.Server/web.config index 02c084c1..f7ac6793 100644 --- a/samples/Mvc.Server/web.config +++ b/samples/Mvc.Server/web.config @@ -2,8 +2,8 @@ - + - + \ No newline at end of file