Skip to content

Commit 4ab6dd7

Browse files
Fix WiX project restore issue in build script
1 parent 8c1e9f7 commit 4ab6dd7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Write-Host ""
2929
Write-Host "Restoring dependencies..." -ForegroundColor Yellow
3030
dotnet restore $SolutionPath
3131

32+
if ($Setup) {
33+
Write-Host "Restoring installer dependencies..." -ForegroundColor Yellow
34+
dotnet restore ScriptProSetup\ScriptProSetup.wixproj
35+
}
36+
3237
Write-Host "Building solution..." -ForegroundColor Yellow
3338
msbuild $SolutionPath /p:Configuration=$Config /p:Platform=$Platform /t:Rebuild /m /v:minimal
3439

0 commit comments

Comments
 (0)