Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Runtime Identifiers to Support .NET 8 and higher by default #4425

Merged
merged 1 commit into from
May 20, 2024

Conversation

ShashankNay
Copy link
Contributor

This update refactors the project configuration to exclusively use portable runtime identifiers (win-x86, win-x64, win-arm64), aligning with .NET 8’s default behavior and eliminating non-portable runtime identifiers (win10-x86, win10-x64, win10-arm64). This change simplifies the setup, reduces maintenance overhead, and prevents the NETSDK1206 warning by removing non-portable RIDs​.

For new projects targeting .NET 8 or higher, this configuration will work seamlessly. However, users with existing projects targeting .NET 7, using older project templates, and relying on the Microsoft.WinAppRuntime.Bootstrap.dll in unpackaged projects will need to take action. They must change their runtime identifiers to the portable format.

@ShashankNay
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ShashankNay ShashankNay enabled auto-merge (squash) May 20, 2024 19:17
@ShashankNay
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ShashankNay ShashankNay merged commit 8b6c0f8 into main May 20, 2024
24 checks passed
@ShashankNay ShashankNay deleted the user/shasnayak/enforce-net8-defaults branch May 20, 2024 20:36
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.

None yet

2 participants