Replies: 2 comments
-
are you using trimming? If yes, WPF doesn't really support it yet. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Tim,
Thanks for replying.
Nope. Not that but turned the ReadyToRun on.
Now I turned that one off and only keep SingleFile. It is okay.
Regards
Kun
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Tim ***@***.***>
Sent: Monday, September 25, 2023 4:02:54 PM
To: MahApps/MahApps.Metro ***@***.***>
Cc: KunLee ***@***.***>; Author ***@***.***>
Subject: Re: [MahApps/MahApps.Metro] Debugging and Relesse OK, but after published. the exe throws ButtonsListView is not efined yet. Please use ItemsSource instead. (Discussion #4420)
are you using trimming? If yes, WPF doesn't really support it yet.
—
Reply to this email directly, view it on GitHub<#4420 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAEQH76PXQ4GCPLPN7VOQ4LX4E3C5ANCNFSM6AAAAAA5DEFDNA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I built a WPF application using MahApps.Metro. Debug/Release both running OK. But after publishing, running the exe throws error
'ButtonsListView is not defined yet. Please use ItemsSource instead.'
And 'The type initializer for System.Windows.Media.FontFamily threw and exception' and then the command window just stop there forever.
If I run the exe in debug or release folder directly, it is fine.
My prj file, I published it as self-contained
WinExe net7.0-windows enable true Exe true true win-x64Any advice or suggestion would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions