2013-12-19 4 views
2

WPF Desktop 응용 프로그램을 개발 중이며 xaml 디자이너 미리보기에서이 오류가 발생합니다. 나는 많은 연결을 겪었지만 알아낼 수는 없었다.WPF .xaml 디자이너 예외

이전에도 같은 질문이 제기되었습니다. Unidentified Resource by the URI 그러나 아직 해결할 수 없습니다. 아래에 이미지가 첨부되었습니다.

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

또한, 내가 경고 메시지를 직면하고있다 :

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 

enter image description here 경고 이상 해결하기 위해, 나는 헛된에서이 link하지만 모든 겪었.

프로그램은 정상적으로 실행되지만 디자인 변경을 구현하고 변경 사항을 관찰해야하므로 디자인 미리보기가 작동하지 않아 프로그램을 반복해서 실행해야합니다.

또한 mahapps.metro 라이브러리를 포함 시켰을 때부터 시작됩니다. 필요한 경우 내 .xaml 파일을 붙여 넣을 수 있습니다. VS2012를 사용하고 있습니다. 미리 감사드립니다.

답변

1

내 경우에는 아래의 참조를 제거하면 문제가 해결됩니다. 어떤 예외가 발생했는지는 알 수 없습니다.

  • Microsoft.Expression.Blend
  • Microsoft.Expression.Interactions
  • System.Windows.Interactivity
+0

나는 그것이 귀하의 경우 다시 여전히 가능하다면 모르겠지만,이 어떤 참조로 인해 예외가 발생했는지 결정할 수있는 방법은 무엇입니까? – ProgrammerDan

+0

나를 위해 Microsoft.Expression.Utility 참조가이 문제의 원인입니다. – canahari

+0

정확히 내가 뭘 찾고 있었는지 고마워. – Inverce

관련 문제