.NET - Is it possible to publish self-contained rather than framework dependent? #2827
Unanswered
jasontaylordev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing an ASP.NET Core 8 application on a Windows desktop. I'll deploy the application to an Azure App Service on Linux.
What is the best way to publish self-contained using AZD? If it was just .NET I might use:
On approach is to add runtime identifiers to the .csproj:
In this case self-contained publishing is the default and this works with AZD.
But I wonder if there is another approach related to
azd deploy
, which is responsible for packaging and deploying the code.Beta Was this translation helpful? Give feedback.
All reactions