Open
Description
I've been defining several experiences that are intended to improve Runtime Identifier (RID) and/or publish
experiences. It makes sense to catalog those all in one place since its easy (including for me) to lose track of them.
- Enable publishing as
Release
withPublishRelease
#23551 - Enable publishing a self-contained app with
PublishSelfContained
#26445 - Enable publishing for a RID with
PublishRuntimeIdentifier
#26444 - Use implicit RID for
Publish
Properties #26028 - Enable FDD + (implicit) RID-specific apps with
RuntimeSpecific
#26031 - dotnet build/publish uses the implicit SDK RID for RID-specific apps by default #23539
Where is this all heading? There are two primary goals:
- Better differentiate
build
andpublish
and use them to better support common developer workflows. There are properties that you cannot put in project files today because they won't do the right thing with eitherbuild
orpublish
since there is no good way to conditionalize them. - Reduce the degree to which developers have to use the RID syntax and the
-r
argument while at the same time runtime-specific apps are the best option in many cases.