Skip to content

[Megathread] Engineering Status of RID Improvements and Publish UX Changes #26503

@nagilson

Description

@nagilson

This is to help me keep organized on what I still need to implement for the issues specified here by @richlander and resolves #26446 and so others can see the progress on those issues. I will be closing them out as well, but this may be helpful.

PR 1) #26143

  • 0) Use implicit RID in the following situations:

    • For any publish property that requires a rid, use the default RID, just like if --use-current-runtime is specified.
      That means:
      • SelfContained
      • PublishAot
      • PublishReadyToRun
      • PublishSingleFile
      • PublishTrimmed
      • PublishSelfContained
  • 1) Add PublishSelfContained property.

    • Set self contained to true automatically when we're publishing
    • Make sure it takes precedence over self-contained=false

Remaining:

  • Make sure this doesn't break rid agnostic projects.

PR 2) _____

  • 0) Add RuntimeSpecific property.
    -> Sets self contained to false
    -> Uses the implicit RID (portable one)

    Verify:

    • Make sure you can still specify -r runtime without it being overriden.
    • Make sure you can still specify self-contained to true even if you do /p:SelfContained=true.

PR 3) ______

  • 0) Add --ucr shorthand for use-current-runtime.

PR 4) ______

  • Add PublishRuntimeIdentifier property.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions