File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ if($RunTests)
139139 foreach ($testProject in $testProjects )
140140 {
141141 Msg " `t`t - $testProject " $msgColor.Attention
142- Invoke-ExpressionEx (" dotnet test /nologo -v d /p:Configuration= $BuildConfiguration -- no-restore --no-build " + $testProject.FullName )
142+ Invoke-ExpressionEx (" dotnet test -- no-restore --no-build -c $BuildConfiguration /nologo " + $testProject.FullName )
143143 Msg " `t`t`t OK" $msgColor.Success
144144 }
145145}
@@ -157,7 +157,7 @@ foreach($nuPackage in (Get-ChildItem -Path $OutputDirectory -Filter "*.nupkg" -R
157157 Remove-Item - Path $nuPackage.FullName - Force
158158}
159159
160- $packCmd = " dotnet pack /nologo /verbosity:d --output=`" $outputPath `" /p:Configuration= $BuildConfiguration /p:BuildNumber= $BuildNumber --no-build --no-restore"
160+ $packCmd = " dotnet pack --output=`" $outputPath `" -c $BuildConfiguration --no-build --no-restore /nologo /p:BuildNumber= $BuildNumber "
161161Invoke-ExpressionEx $packCmd
162162foreach ($nuPackage in (Get-ChildItem - Path $OutputDirectory - Filter " *.nupkg" - Recurse))
163163{
You can’t perform that action at this time.
0 commit comments