Skip to content

Commit 91b63e8

Browse files
author
Sergey Tregub
committed
Fix problem with publishing service and deploy it to IIS
1 parent 9e1c1c5 commit 91b63e8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ProjectTemplates/ReferenceProject/ReferenceProject.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<LangVersion>latest</LangVersion>
6+
<AspNetCoreModuleName>AspNetCoreModuleV2</AspNetCoreModuleName>
67
</PropertyGroup>
78

89
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

ProjectTemplates/ReferenceProject/web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</modules>
1616
<handlers>
1717
<clear />
18-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
18+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
1919
</handlers>
2020
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false">
2121
<environmentVariables />

0 commit comments

Comments
 (0)