Help with building

Is there any way to configure the publish thingy to bundle all the dlls into a single standalone .exe?
18 Replies
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
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
SpReeD6mo ago
Select the option "Publish as single file"
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
Sorry but, where's that option? The only thing i can find is publish to folder
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
And all this config
No description
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
Oh right in the dropdown menu :picard_facepalm: Aight it worked, thx <3 Is there any way to decrease the .exe size?
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
GitHub
Release v1.03 · elnexreal/GD-SLEditor
Changelog Removed github button Removed initprogram() function Updated comments in code Extras Changed version scheme
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
I have this old project and the exe is not that big, i don't really remember what i did there
leowest
leowest6mo ago
No description
leowest
leowest6mo ago
and trimming but it depends on what kind of project it is in some scenarios trimming might be more hassle then worth it
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
Not that big
leowest
leowest6mo ago
its not the size but what it uses
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
What do you mean by that?
leowest
leowest6mo 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
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
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
leowest6mo ago
yeah
BAJAJ Rouser RS200
BAJAJ Rouser RS200OP6mo ago
Thank you so much <3
leowest
leowest6mo 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
MODiX6mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server