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