Open radutomy opened 2 years ago
Thanks for the suggestion.
Deploying the app in a single file would dramatically increase its size (from ~500KB to over 130MB), since it would be dragging all the .Net dependencies with it.
It would be better to install .Net 6 core once, and be coverd for all the apps that use it. It would also decrease the file size when downloading updates ( since you will be downloading all the dependencies each time).
So unless there is a specific use case, I don't see a reason for changing the deployment mode.
will keep this open, as we may be able to provide a self-contained deployment mode in the future but in addition to the regular one.
You can publish the app to include the .NET 6 runtime so that users aren't forced to install .NET6 themselves. See here: https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
And here: https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file/overview#publish-a-single-file-app---visual-studio