Question

I am developing WPF Desktop app and I am getting this error on my xaml designer preview. I have gone through many links but not able to figure out.

The same question was also raised before it. Unidentified Resource by the URI however I am still unable to resolve it. I have also attached images below.

enter image description here

Here is the complete error:

Exception: The component 'Microsoft.Expression.Utility.ValueEditors.SplitComboBox' does not have a resource identified by the URI '/Microsoft.Expression.Utility;component/valueeditors/splitcombobox.xaml'.

And also, I am facing the warning message. enter image description here

Warning 7   There was a mismatch between the processor architecture of the   project being built "MSIL" and the processor architecture of the reference "Microsoft.Expression.Utility, Version=5.0.30709.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=x86", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    Predictions Version 1

To resolve above warning, I gone through this link but all in vain.

Program runs fine, but I need to implement design changes and to observe the change, I have to run program again and again as design preview is not working.

Also note that, it starts happening when I included mahapps.metro library. I can paste my .xaml file if needed. I am using VS2012. Thanks in Advance.

Was it helpful?

Solution

In my case, removing references below solved the problem. I don't know which one caused the exception though.

  • Microsoft.Expression.Blend
  • Microsoft.Expression.Interactions
  • System.Windows.Interactivity
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top