ModernWpf
ModernWpf copied to clipboard
Install problem
So i have been having problems installing the ui.
Image of problem: https://prnt.sc/vfpu9h Image of it installed https://prnt.sc/vfpum8
I have tried .net framework 6.1, 6.2, 7.2 and none of them seem to work im using VS 2019.
Any ideas? thx
not sure if it will make a difference but you are missing a line <Application ... xmlns:ui="http://schemas.modernwpf.com/2019"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ui:ThemeResources /> <ui:XamlControlsResources /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application>
I too have this problem. The error I see is the name ThemeResources does not exist in the namespace "http://schemas.modernwpf.com/2019". The same for XamlControlsResources.
Could you please provide a repro project?
I guess a rebuild would fix this issue.
I have had this problem before. I just rebuild the project and this error goes away.
Did you try that?
bump
I've tried almost all .net framework versions, VS 2019 and 2022 and cannot solve this.
Has anyone managed to solve this issue?
Finally got to the bottom of this. In my case the issue was caused by an Assembly name clash, I had named by test project ModernWPF
. Once I changed this, it worked as expected.