Description
When running the net - identity - tests
CI pipeline, there is an error preventing the CI from completing successfully.
The error is in the file:
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/test-resources-post.ps1
And the error details are:
/usr/share/dotnet/sdk/9.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(31,5): error NETSDK1129: The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify one of the following frameworks in order to publish: net8.0, net9.0 [/mnt/vss/_work/1/s/sdk/identity/Azure.Identity/integration/WebApp/Integration.Identity.WebApp.csproj]
2025-06-10T05:19:11.5023601Z �[31;1m�[31;1mProgram "dotnet" ended with non-zero exit code: 1.�[0m
2025-06-10T05:19:11.5026090Z �[31;1m�[31;1mAt /mnt/vss/_work/1/s/sdk/identity/test-resources-post.ps1:16 char:1�[0m
2025-06-10T05:19:11.5028235Z �[31;1m�[31;1m+ dotnet publish "$webappRoot/WebApp/Integration.Identity.WebApp.csproj
To validate the fix, the net - identity - tests
pipeline can be run from the PR by creating a comment with the following text:
/azp run net - identity - tests
This issue is considered complete when the net - identity - tests
runs successfully.
Metadata
Metadata
Assignees
Type
Projects
Status