From 2656c528c31f2a1e270c33b27aec161fffe76b51 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 25 Apr 2016 11:44:56 -0700 Subject: [PATCH] Update web.config and add publish tool --- samples/AntiforgerySample/project.json | 11 ++++++++++- samples/AntiforgerySample/web.config | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/samples/AntiforgerySample/project.json b/samples/AntiforgerySample/project.json index 4ff0ec051e..a6bf3398de 100644 --- a/samples/AntiforgerySample/project.json +++ b/samples/AntiforgerySample/project.json @@ -30,5 +30,14 @@ "content": [ "wwwroot", "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/AntiforgerySample/web.config b/samples/AntiforgerySample/web.config index 22a337cbe2..f7ac679334 100644 --- a/samples/AntiforgerySample/web.config +++ b/samples/AntiforgerySample/web.config @@ -4,6 +4,6 @@ - + \ No newline at end of file