Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish it as AOT? #27

Open
nikriaz opened this issue Jan 9, 2024 · 2 comments
Open

Publish it as AOT? #27

nikriaz opened this issue Jan 9, 2024 · 2 comments

Comments

@nikriaz
Copy link

nikriaz commented Jan 9, 2024

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.

@TheJoeFin
Copy link
Owner

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.

@nikriaz
Copy link
Author

nikriaz commented Jan 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants