Help with building

Is there any way to configure the publish thingy to bundle all the dlls into a single standalone .exe?
18 Replies
User* elnexreal = new nex();
I had a project in .net 4.7.2 that when i published it, it would just bundle all the dlls into a single .exe file Sorry if someone doesn't understand me, im kinda asleep
SpReeD
SpReeD10mo ago
Select the option "Publish as single file"
User* elnexreal = new nex();
Sorry but, where's that option? The only thing i can find is publish to folder
User* elnexreal = new nex();
And all this config
No description
User* elnexreal = new nex();
Oh right in the dropdown menu :picard_facepalm: Aight it worked, thx <3 Is there any way to decrease the .exe size?
User* elnexreal = new nex();
GitHub
Release v1.03 · elnexreal/GD-SLEditor
Changelog Removed github button Removed initprogram() function Updated comments in code Extras Changed version scheme
User* elnexreal = new nex();
I have this old project and the exe is not that big, i don't really remember what i did there
leowest
leowest10mo ago
No description
leowest
leowest10mo ago
and trimming but it depends on what kind of project it is in some scenarios trimming might be more hassle then worth it
User* elnexreal = new nex();
Not that big
leowest
leowest10mo ago
its not the size but what it uses
User* elnexreal = new nex();
What do you mean by that?
leowest
leowest10mo ago
i.e.: WPF is not compatible with trimming as an example the alternative is framework-dependant which means the OS would have to have .net runtime installed and the other option would be to just stay on .net framework 4.8 because all windows 10+ have it
User* elnexreal = new nex();
Is there any possibility that net 4.7.2 bundled into the exe is less bigger than net 8.0? Oookay so that's the reason
leowest
leowest10mo ago
yeah
User* elnexreal = new nex();
Thank you so much <3
leowest
leowest10mo ago
that means u can't upgrade to .net core+ just to stand out the difference its not .net 4.7.2 its .net framework 4.7.2 its the legacy version which is windows only
MODiX
MODiX10mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?