Skip to content

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

2 participants