The 'clr-namespace' URI refers to a namespace that is not included in the assembly

后端 未结 10 1981
醉梦人生
醉梦人生 2020-12-02 18:32

I\'m trying to include in my XAML some classes which convert values. However, I\'m getting the following error when I compile:

Undefined CLR namespac

10条回答
  •  我在风中等你
    2020-12-02 18:45

    I just solved this by changing the target from x64 to x86. Apparently Visual Studio is 32bit process and it's unable to load 64bit assemblies, and if your assembly is targeting x64 platform and you adding some custom control visual studio is unable to load it and throws this message.

提交回复
热议问题