-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish self contained app - remove .NET 6 dependency #9
Comments
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
The text was updated successfully, but these errors were encountered: