Skip to content

Commit 4e1cd71

Browse files
committed
See if building package after build step fixes issues
1 parent 53a0ab8 commit 4e1cd71

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

build/Build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $anyError = $False
66
ForEach ($p in $client_projects) {
77
If ($($p.UseMSBuild) -ne $True) {
88
Write-Host "Building $($p.Name)" -ForegroundColor Yellow
9-
dotnet pack $($p.SourceDir) -c Release -o $artifacts_dir
9+
dotnet build $($p.SourceDir) -c Release
1010
Write-Host "Finished building $($p.Name)" -ForegroundColor Yellow
1111

1212
If ($LASTEXITCODE -ne 0) {

build/Package.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Create-Directory $artifacts_dir
1515

1616
ForEach ($p in $client_projects) {
1717
If ($($p.UseMSBuild) -ne $True) {
18+
Write-Host "Building Client NuGet Package: $($p.Name)" -ForegroundColor Yellow
19+
dotnet pack "$($p.SourceDir)" -c Release -o $artifacts_dir
20+
Write-Host "Building Client NuGet Package: $($p.Name)" -ForegroundColor Yellow
21+
22+
If (-not $?) {
23+
$anyError = $True
24+
}
25+
1826
Continue;
1927
}
2028

0 commit comments

Comments
 (0)