Skip to content

Commit 465d762

Browse files
authoredFeb 20, 2025··
re-adding workers for inproc8 (#10869)

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎build/build-extensions.ps1

-6
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,6 @@ function CreateSiteExtensions() {
165165
# Only the "Functions" site extension supports hard links
166166
Write-Host "MinorVersionPrefix is '8'. Removing $hashesForHardLinksPath before zipping."
167167
Remove-Item -Force "$hashesForHardLinksPath" -ErrorAction Stop
168-
# The .NET 8 host doesn't require any workers. Doing this to save space.
169-
Write-Host "Removing workers before zipping."
170-
# The host requires that this folder exists and it cannot be empty
171-
Remove-Item -Recurse -Force "$siteExtensionPath\$extensionVersion\workers" -ErrorAction Stop
172-
New-Item -Path "$siteExtensionPath\$extensionVersion" -Name "workers" -ItemType Directory -ErrorAction Stop | Out-Null
173-
Set-Content -Force -Path "$siteExtensionPath\$extensionVersion\workers\this_folder_intentionally_empty.txt" -Value ".NET 8 builds do not have workers. However, this folder must contain at least one file." -ErrorAction Stop
174168
Write-Host "======================================"
175169
Write-Host
176170
ZipContent $siteExtensionPath "$zipOutput\FunctionsInProc8.$extensionVersion.zip"

0 commit comments

Comments
 (0)
Please sign in to comment.