Enable publishing to IIS

This commit is contained in:
Kiran Challa 2016-02-16 13:07:40 -08:00
parent de7475cc33
commit b4438c0559
2 changed files with 9 additions and 7 deletions

View File

@ -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%" ]
}
}

View File

@ -8,12 +8,5 @@
<!-- This will turn on detailed errors when deployed to remote servers -->
<!-- This setting is not recommended for production -->
<add key="ASPNET_DETAILED_ERRORS" value="true" />
<add key="dnx-app-base" value=".." />
</appSettings>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" forwardWindowsAuthToken="false" startupTimeLimit="3600" />
</system.webServer>
</configuration>