Skip to content

Commit 398fef4

Browse files
committed
[pack] Fix direct path to dotnet.exe
1 parent 700aa23 commit 398fef4

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function CrossGen([string] $runtime, [string] $publishTarget, [string] $privateS
4343
dotnet publish .\src\WebJobs.Script.WebHost\WebJobs.Script.WebHost.csproj -r $runtime -o "$selfContained" -v q /p:BuildNumber=$buildNumber
4444

4545
# Modify web.config for inproc
46-
dotnet tool install -g dotnet-xdt --version 2.2.0 2> $null
46+
dotnet tool install -g dotnet-xdt --version 2.1.0 2> $null
4747
dotnet-xdt -s "$privateSiteExtensionPath\web.config" -t "$privateSiteExtensionPath\web.InProcess.$runtime.xdt" -o "$privateSiteExtensionPath\web.config"
4848

4949
$successfullDlls =@()
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
33
<system.webServer>
4-
<handlers>
5-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" xdt:Transform="Replace" xdt:Locator="Match(name)" />
6-
</handlers>
74
<aspNetCore processPath="D:\Program Files\dotnet\dotnet.exe" arguments=".\Microsoft.Azure.WebJobs.Script.WebHost.dll" stdoutLogEnabled="false" hostingModel="inprocess" xdt:Transform="Replace" />
85
</system.webServer>
96
</configuration>
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
33
<system.webServer>
4-
<handlers>
5-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" xdt:Transform="Replace" xdt:Locator="Match(name)" />
6-
</handlers>
74
<aspNetCore processPath="D:\Program Files (x86)\dotnet\dotnet.exe" arguments=".\Microsoft.Azure.WebJobs.Script.WebHost.dll" stdoutLogEnabled="false" hostingModel="inprocess" xdt:Transform="Replace" />
85
</system.webServer>
96
</configuration>

0 commit comments

Comments
 (0)