Jānis
Jānis
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
Thank you for your comments! My main problem was that I was not understanding why in one project 100 kB .exe was working, and in another project it wasn't. At least that is solved, I got it working with the size of 155 MB, played around with the settings, got it back runtime dependant but with 100 kB. I don't need newest runtimes, dependencies e.t.c. I just need something that works. 😄 And if possible, with the relatively small size. I'll talk to IT, but if necessary convert also this new project back to 4.8, if it means, I can distribute the small exe to necessary people.
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
and again huge thanks, I wouldn't have stumbled upon this option by myself
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
at least, I wasn't having any issues distributing the previous 4.8, that was generated using the basic settings for wpf .net app
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
framework dependant will be fine. Trimming was conflicting for me with using wpf. The target computers have specific frameworks due to other software being used, I'll just have to inquire, which specific they have
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
I'm completely clueless with these properties, how the runtimes e.t.c. work
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
Can I try adding this property in csproj with the previous settings, and try to get the <9MB file size instead of this self contained monstrosity? 😄
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
SUCCESS!
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
I'm not using anything particularly exotic using System; using System.Collections.Generic; using System.Windows; using Microsoft.Win32; using Microsoft.VisualBasic.FileIO; using System.IO;
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
No description
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
No description
58 replies
CC#
Created by Jānis on 2/16/2024 in #help
Publish to single working .exe
No description
58 replies