Skip to content

Commit

Permalink
Merged PR 8592911: Fix Deprecated Options on Build
Browse files Browse the repository at this point in the history
Solution-level `--output` option no longer valid for build-related commands - .NET | Microsoft Learn
  • Loading branch information
jomitiron committed Mar 2, 2023
1 parent 5784f9b commit a00cd38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions TestSuites/FileServer/src/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ Copy-Item "$TestSuiteRoot/TestSuites/FileServer/src/Data/*" -Destination "$OutD

Copy-Item "$TestSuiteRoot/TestSuites/FileServer/src/Deploy/LICENSE.rtf" -Destination "$OutDir/LICENSE.rtf" -Recurse -Force

dotnet publish "$TestSuiteRoot/TestSuites/FileServer/ShareUtil/ShareUtil.sln" -c $Configuration -o $OutDir/Utils
dotnet publish "$TestSuiteRoot/TestSuites/FileServer/ShareUtil/ShareUtil.sln" -c $Configuration --property:PublishDir=$OutDir/Utils
if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build ShareUtil tool"
exit 1
}

dotnet publish "$TestSuiteRoot/TestSuites/FileServer/src/FileServer.sln" -c $Configuration -o $OutDir/Bin
dotnet publish "$TestSuiteRoot/TestSuites/FileServer/src/FileServer.sln" -c $Configuration --property:PublishDir=$OutDir/Bin
if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build FileServer test suite"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion TestSuites/MS-WSP/src/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Copy-Item "$TestSuiteRoot/TestSuites/MS-WSP/Setup/Data/*" -Destination "$OutDir

Copy-Item "$TestSuiteRoot/TestSuites/MS-WSP/src/Deploy/LICENSE.rtf" -Destination "$OutDir/LICENSE.rtf" -Recurse -Force

dotnet publish "$TestSuiteRoot/TestSuites/MS-WSP/src/MS-WSP_Server.sln" -c $Configuration -o $OutDir/Bin
dotnet publish "$TestSuiteRoot/TestSuites/MS-WSP/src/MS-WSP_Server.sln" -c $Configuration --property:PublishDir=$OutDir/Bin
if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build MS-WSP test suite"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion TestSuites/RDP/Client/src/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Copy-Item "$TestSuiteRoot/TestSuites/RDP/Client/src/TestSuite/RDPEGFX/H264TestD

Copy-Item "$TestSuiteRoot/TestSuites/RDP/Client/src/Deploy/LICENSE.rtf" -Destination "$OutDir/LICENSE.rtf" -Recurse -Force

dotnet publish "$TestSuiteRoot/TestSuites/RDP/Client/src/RDP_Client.sln" -c $Configuration -o $OutDir/Bin
dotnet publish "$TestSuiteRoot/TestSuites/RDP/Client/src/RDP_Client.sln" -c $Configuration --property:PublishDir=$OutDir/Bin

if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build RDP Client test suite"
Expand Down
2 changes: 1 addition & 1 deletion TestSuites/RDP/Server/src/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ foreach ($curr in $CommonScripts) {

Copy-Item "$TestSuiteRoot/TestSuites/RDP/Server/src/Deploy/LICENSE.rtf" -Destination "$OutDir/LICENSE.rtf" -Recurse -Force

dotnet publish "$TestSuiteRoot/TestSuites/RDP/Server/src/RDP_Server.sln" -c $Configuration -o $OutDir/Bin
dotnet publish "$TestSuiteRoot/TestSuites/RDP/Server/src/RDP_Server.sln" -c $Configuration --property:PublishDir=$OutDir/Bin

if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build RDP Server test suite"
Expand Down

0 comments on commit a00cd38

Please sign in to comment.