ModernWpf icon indicating copy to clipboard operation
ModernWpf copied to clipboard

Install problem

Open ApoIlos opened this issue 4 years ago • 7 comments

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

ApoIlos avatar Nov 08 '20 20:11 ApoIlos

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>

pbcn avatar Nov 10 '20 11:11 pbcn

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.

cmichaelingram avatar Nov 11 '20 19:11 cmichaelingram

Could you please provide a repro project?

Kinnara avatar Nov 17 '20 16:11 Kinnara

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?

ShankarBUS avatar Nov 25 '20 01:11 ShankarBUS

bump

TheCrazyWolf avatar Mar 19 '21 19:03 TheCrazyWolf

I've tried almost all .net framework versions, VS 2019 and 2022 and cannot solve this.

Has anyone managed to solve this issue?

mjulian87 avatar Jan 23 '23 12:01 mjulian87

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.

mjulian87 avatar Jan 23 '23 12:01 mjulian87