Skip to content

Commit 78bfe0c

Browse files
Fixed test broker build (#2733)
1 parent ba40046 commit 78bfe0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/core/azure_core_amqp/Test-Setup.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ try {
3333

3434
Set-Location -Path "./azure-amqp/test/TestAmqpBroker"
3535

36-
Invoke-LoggedCommand "dotnet build -p RollForward=LatestMajor --framework net6.0"
36+
Invoke-LoggedCommand "dotnet build -p RollForward=LatestMajor --framework net8.0"
3737
if (!$? -ne 0) {
3838
Write-Error "Failed to build TestAmqpBroker."
3939
exit 1
@@ -46,7 +46,7 @@ try {
4646

4747
Write-Host "Starting test broker listening on ${env:TEST_BROKER_ADDRESS} ..."
4848

49-
Set-Location -Path $WorkingDirectory/azure-amqp/bin/Debug/TestAmqpBroker/net6.0
49+
Set-Location -Path $WorkingDirectory/azure-amqp/bin/Debug/TestAmqpBroker/net8.0
5050

5151
$job = dotnet exec ./TestAmqpBroker.dll ${env:TEST_BROKER_ADDRESS} /headless &
5252

0 commit comments

Comments
 (0)