Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Commit 2887f2e

Browse files
committed
Update web.config and add publish tool
1 parent f98204d commit 2887f2e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

samples/LocalizationSample/project.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,14 @@
2626
}
2727
}
2828
}
29+
},
30+
"tools": {
31+
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
32+
"version": "1.0.0-*",
33+
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
34+
}
35+
},
36+
"scripts": {
37+
"postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
2938
}
3039
}

samples/LocalizationSample/web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<handlers>
55
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
66
</handlers>
7-
<aspNetCore processPath=".\LocalizationSample.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />
7+
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />
88
</system.webServer>
99
</configuration>

0 commit comments

Comments
 (0)