Skip to content

Commit 592709a

Browse files
committed
[pack] Fixing crossgen Microsoft.CodeAnalysis.Workspaces 3.5.0
1 parent 3059c8b commit 592709a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ function CrossGen([string] $runtime, [string] $publishTarget, [string] $privateS
4040
#https://dotnet.myget.org/feed/dotnet-core/package/nuget/runtime.win-x86.Microsoft.NETCore.Runtime.CoreCLR
4141
DownloadNupkg "https://dotnet.myget.org/F/dotnet-core/api/v2/package/runtime.$runtime.Microsoft.NETCore.Runtime.CoreCLR/2.2.0-servicing-26820-03" @("tools\crossgen.exe") @("$publishTarget\download\crossgen")
4242

43+
# we need SQLitePCLRaw dlls to crossgen Microsoft.CodeAnalysis.Workspaces
44+
DownloadNupkg "https://www.nuget.org/api/v2/package/SQLitePCLRaw.bundle_green/1.1.0" @("lib\netstandard1.1\SQLitePCLRaw.batteries_v2.dll") @("$selfContained")
45+
DownloadNupkg "https://www.nuget.org/api/v2/package/SQLitePCLRaw.core/1.1.0" @("lib\netstandard1.1\SQLitePCLRaw.core.dll") @("$selfContained")
46+
4347
# Publish self-contained app with all required dlls for crossgen
4448
dotnet publish .\src\WebJobs.Script.WebHost\WebJobs.Script.WebHost.csproj -r $runtime -o "$selfContained" -v q /p:BuildNumber=$buildNumber
4549

0 commit comments

Comments
 (0)