generated from dotnet/new-repo
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
Right now, for the most efficient framework-dependent containers, a user has to enter a command like
dotnet publish -c Release --os linux --arch x64 -p:PublishProfile=DefaultContainermanually specifying the OS and Arch (or, alternatively the entire RID via -r). In cases where we know something about the destination container (through inference?) is it possible to perform the build/publish cycle with a RID taken from that image's metadata?
Ideally, I'd like for the command dotnet publish -c Release -p:PublishProfile=DefaultContainer to have the same information as the command above.