Caffeinated icon indicating copy to clipboard operation
Caffeinated copied to clipboard

Publish it as AOT?

Open nikriaz opened this issue 1 year ago • 2 comments

Hi! I found your comment on the AOT discussion page and came here to see your advancements in publishing trimmed WinForms app.

Unfortunately, I was unable to make your repo working right away. Debug cannot start, immediately throw an exception somewhere in settings. Published app does not start, just nothing happen. Does it actually work? Were you able to publish it as AOT?

My app has similar setup with tray icon and just two child forms, "settings" and "about", right as yours. and I nearly gave up with AOT WinForms, despite of Net 8 promises.

nikriaz avatar Jan 09 '24 16:01 nikriaz

I have not been able to get AOT or Trimming working due to the dependency on WinForms. I have been looking at other ways to remove that dependency, but have not found a working solution yet.

TheJoeFin avatar Jan 09 '24 16:01 TheJoeFin

Ah, okay. But may I ask what is your MSIX then and what is its size?

nikriaz avatar Jan 09 '24 21:01 nikriaz