From b4438c05594c2b355c50093164e0af9b13e978d4 Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Tue, 16 Feb 2016 13:07:40 -0800 Subject: [PATCH] Enable publishing to IIS --- src/MusicStore/project.json | 9 +++++++++ src/MusicStore/wwwroot/web.config | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/MusicStore/project.json b/src/MusicStore/project.json index 277bcd03bb..b82944528b 100644 --- a/src/MusicStore/project.json +++ b/src/MusicStore/project.json @@ -16,6 +16,9 @@ "compile": [ "../../shared/**/*.cs" ], + "tools": { + "dotnet-publish-iis": "1.0.0-*" + }, "content": [ "Areas", "Views", @@ -55,7 +58,13 @@ "frameworks": { "dnx451": { }, "dnxcore50": { + "dependencies": { + "NETStandard.Library": "1.0.0-*" + }, "imports": "portable-net451+win8" } + }, + "scripts": { + "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath%" ] } } \ No newline at end of file diff --git a/src/MusicStore/wwwroot/web.config b/src/MusicStore/wwwroot/web.config index 4f95c98da3..a0ee658c30 100644 --- a/src/MusicStore/wwwroot/web.config +++ b/src/MusicStore/wwwroot/web.config @@ -8,12 +8,5 @@ - - - - - - - \ No newline at end of file