Skip to content

Commit 3541573

Browse files
committed
Fix applicationHost for ANT79
1 parent f9d6c27 commit 3541573

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/WebJobs.Script.WebHost/applicationHost-private.xdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
</site>
1111
</sites>
1212
</system.applicationHost>
13-
<location path="%XDT_SITENAME%" xdt:Locator="Match(path)" xdt:Transform="InsertIfMissing">
14-
<system.webServer xdt:Transform="InsertIfMissing">
15-
<modules xdt:Transform="InsertIfMissing">
16-
<add name="AspNetCoreModuleV2" xdt:Transform="InsertIfMissing"/>
13+
<location path="" xdt:Locator="Match(path)">
14+
<system.webServer>
15+
<modules>
16+
<add name="AspNetCoreModuleV2" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" lockItem="true" />
1717
</modules>
1818
</system.webServer>
1919
</location>

src/WebJobs.Script.WebHost/applicationHost.xdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<add name="AspNetCoreModuleV2" image="%XDT_EXTENSIONPATH%\%XDT_BITNESS%\ancm\aspnetcoreV2.dll" xdt:Transform="Insert" />
1717
</globalModules>
1818
</system.webServer>
19-
<location path="%XDT_SITENAME%" xdt:Locator="Match(path)" xdt:Transform="InsertIfMissing">
20-
<system.webServer xdt:Transform="InsertIfMissing">
21-
<modules xdt:Transform="InsertIfMissing">
22-
<add name="AspNetCoreModuleV2" xdt:Transform="InsertIfMissing"/>
19+
<location path="" xdt:Locator="Match(path)">
20+
<system.webServer>
21+
<modules>
22+
<add name="AspNetCoreModuleV2" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" lockItem="true" />
2323
</modules>
2424
</system.webServer>
2525
</location>

0 commit comments

Comments
 (0)