From 1d522a01679f56ae21cbb226004cfc31c21337ff Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 25 Apr 2016 08:58:44 -0700 Subject: [PATCH] Update web.config and add publish tool --- samples/RoutingSample.Web/project.json | 11 ++++++++++- samples/RoutingSample.Web/web.config | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/samples/RoutingSample.Web/project.json b/samples/RoutingSample.Web/project.json index d6f80ad721..308b46ee96 100644 --- a/samples/RoutingSample.Web/project.json +++ b/samples/RoutingSample.Web/project.json @@ -24,5 +24,14 @@ }, "content": [ "web.config" - ] + ], + "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%" + } } \ No newline at end of file diff --git a/samples/RoutingSample.Web/web.config b/samples/RoutingSample.Web/web.config index 652885d9fb..f7ac679334 100644 --- a/samples/RoutingSample.Web/web.config +++ b/samples/RoutingSample.Web/web.config @@ -4,6 +4,6 @@ - + \ No newline at end of file