Materialdesigninxamltoolkit: Resources can not be resolved in x64 project

Created on 2 Sep 2017  路  7Comments  路  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

Hello,

I have a project which is built for x64, but the WPF designer is broken when I use your library. All resources are underlined and I get the text "Static resource can not be resolved". I tried to build MaterialDesignThemes.Wpf and MaterialDesignColors , but the result is the same. If I am using AnyCPU everything is fine with the designer, but I have other dependencies in the project and must be x64.

Repo with example: https://github.com/hadzhiyski/MaterialDesignXamlDemo64

Screenshot

If you have any additional questions, please do not hesitate to ask.

Most helpful comment

Thanks 馃憤

All 7 comments

But is it working at runtime?

Yes. The runtime is OK. I am building a quite complex UI and without the designer is like nightmare.

This is a problem of the VS designer which doesn't work with x64. Cause the whole UI of VS is 32bit.

Thanks. I guess if I use AnyCPU for designer and x64 for runtime will solve my case.

Sorry...but there's not a lot I can do about this...learn to love the XAML and write smaller views is my advice...

Thanks 馃憤

Hi, I know it's old, 2017, however I went through it in 2018 and the same now, I recommend creating the interfece using AnyCPU and compiling X64 works for me in the VS 2019 Community Preview. What punker76 said makes all sense.

Was this page helpful?
0 / 5 - 0 ratings