Skip to content
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

Open
radutomy opened this issue Jun 13, 2022 · 2 comments
Open

Publish self contained app - remove .NET 6 dependency #9

radutomy opened this issue Jun 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@radutomy
Copy link

radutomy commented Jun 13, 2022

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

@nefares nefares added the enhancement New feature or request label Jun 20, 2022
@nefares
Copy link
Owner

nefares commented Jun 20, 2022

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.

@nefares
Copy link
Owner

nefares commented Jun 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants