Skip to content

[tests] restore testing net10.0-android projects in .NET 11#10729

Merged
jonathanpeppers merged 2 commits intomainfrom
dev/peppers/net10net11
Jan 27, 2026
Merged

[tests] restore testing net10.0-android projects in .NET 11#10729
jonathanpeppers merged 2 commits intomainfrom
dev/peppers/net10net11

Conversation

@jonathanpeppers
Copy link
Member

Fixes: #10722

This is working locally for me, so trying again on CI.

Fixes: #10722

This is working locally for me, so trying again on CI.
Set UseDefaultPublishRuntimeIdentifier to false in the generated project file to stop the .NET SDK from adding the host runtime identifier. This addresses issues related to unintended RIDs, as discussed in #10722.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review January 27, 2026 18:33
@jonathanpeppers
Copy link
Member Author

There are some unrelated test failures, but the enabled tests are passing now:

image

@jonathanpeppers jonathanpeppers merged commit 998e380 into main Jan 27, 2026
1 of 2 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/net10net11 branch January 27, 2026 18:35
jonathanpeppers added a commit that referenced this pull request Jan 27, 2026
Fixes: #10722

Set `$(UseDefaultPublishRuntimeIdentifier)` to false in the
generated projects to stop the .NET SDK from adding the
host runtime identifier.

This addresses issues related to unintended RIDs, as discussed
in #10722.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[.NET 11] building net10.0-android target framework fails restore

1 participant