✅ WPF How to compile a self-contained project so that it doesn't weight 100+ MB
when not self-contained my compiled project weight 209 KB, but when I compile it self-contained it weights 134 MB, how do I fix this ? I'm noticing there's a lot of libraries that aren't used by my code that are in that project...
commands used :
commands used :
dotnet publish -c Release -r win-x64 --self-contained true /p:PublishTrimmed=true, dotnet publish -c Release -r win-x64 --self-contained false