Enable publishing to IIS
This commit is contained in:
parent
de7475cc33
commit
b4438c0559
|
|
@ -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%" ]
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
Loading…
Reference in New Issue