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

Architecture and OS targeting improvements for .NET 6 #18832

Closed
7 tasks done
Tracked by #12900
marcpopMSFT opened this issue Jul 9, 2021 · 5 comments
Closed
7 tasks done
Tracked by #12900

Architecture and OS targeting improvements for .NET 6 #18832

marcpopMSFT opened this issue Jul 9, 2021 · 5 comments
Assignees
Milestone

Comments

@marcpopMSFT
Copy link
Member

marcpopMSFT commented Jul 9, 2021

https://github.com/dotnet/designs/blob/d248ad68b41866eba17e80225a08518b8202ddf6/accepted/2021/architecture-targeting.md#net-6

For the shorthand RID, the proposal is to go with --arch and -a and --os (no need for a short form of os).

.NET 6

The following changes should be included in .NET 6, motivated by the x64 emulation scenario. They are all additive and non-breaking.

The addition of the shorthand RID syntax and the parity syntax between build and publish will provide a satisfactory set of gestures to enable migration with .NET 6 to a non-breaking syntax with respect to .NET 7. In particular, users need to migrate any uses of -r to always be accompanied by one of the --self-contained or --no-self-contained switches.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Jul 9, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@marcpopMSFT marcpopMSFT added Area-NetSDK and removed untriaged Request triage from a team member labels Jul 9, 2021
@marcpopMSFT marcpopMSFT added this to the 6.0.1xx milestone Jul 9, 2021
@marcpopMSFT marcpopMSFT changed the title Improve default RID target for downlevel runtimes Architecture and OS targeting improvements for .NET 6 Jul 9, 2021
@sfoslund
Copy link
Member

Do NOT enable the -r RID syntax on these same verbs. Doing so would cause a breaking change in .NET 7, which seems like a unforgivable mistake.

@richlander can you clarify here? Most of those verbs already have the -r rid syntax, so you want to remove that? Or just avoid adding it to new commands?

@sfoslund
Copy link
Member

All tasks finished and merged, closing this issue...

@richlander
Copy link
Member

Thanks! How can I test the latest behavior? Try a nightly build?

@sfoslund
Copy link
Member

Yup, pick up a nightly build in a few hours, once it's flowed: https://github.com/dotnet/installer#installers-and-binaries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants