Skip to content

Architecture and OS targeting improvements for .NET 6 #18832

Closed
@marcpopMSFT

Description

@marcpopMSFT

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions