Enable publishing to IIS
This commit is contained in:
parent
de7475cc33
commit
b4438c0559
|
|
@ -16,6 +16,9 @@
|
||||||
"compile": [
|
"compile": [
|
||||||
"../../shared/**/*.cs"
|
"../../shared/**/*.cs"
|
||||||
],
|
],
|
||||||
|
"tools": {
|
||||||
|
"dotnet-publish-iis": "1.0.0-*"
|
||||||
|
},
|
||||||
"content": [
|
"content": [
|
||||||
"Areas",
|
"Areas",
|
||||||
"Views",
|
"Views",
|
||||||
|
|
@ -55,7 +58,13 @@
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"dnx451": { },
|
||||||
"dnxcore50": {
|
"dnxcore50": {
|
||||||
|
"dependencies": {
|
||||||
|
"NETStandard.Library": "1.0.0-*"
|
||||||
|
},
|
||||||
"imports": "portable-net451+win8"
|
"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 will turn on detailed errors when deployed to remote servers -->
|
||||||
<!-- This setting is not recommended for production -->
|
<!-- This setting is not recommended for production -->
|
||||||
<add key="ASPNET_DETAILED_ERRORS" value="true" />
|
<add key="ASPNET_DETAILED_ERRORS" value="true" />
|
||||||
<add key="dnx-app-base" value=".." />
|
|
||||||
</appSettings>
|
</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>
|
</configuration>
|
||||||
Loading…
Reference in New Issue