如果我从Visual Studio 2013中运行应用程序,一切都很好。如果我双击IDE外部的exe,Windows会抛出错误并关闭,通过提供更多详细信息程序提供更多详细信息。此外。我遵守了Release。 VS不要犯任何错误。
Problem Event Name: CLR20r3
Problem Signature 01: modernuiapp1.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5283f92e
Problem Signature 04: mscorlib
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4.0.30319.18408
Problem Signature 07: 26fb
Problem Signature 08: System.Windows.Markup.XamlParse
OS Version: 6.2.9200.2.0.0.256.48
然后我按下调试按钮,VS抛出这样的错误
System.Windows.Markup.XamlParseException not processed
_HResult = -2146233087
_message = Setting properties "System.Windows.ResourceDictionary.Source" caused the exception.
HResult = -2146233087
IsTransient = false
Message = Set property "System.Windows.ResourceDictionary.Source" caused the exception.
Source = PresentationFramework
我认为它与主窗口构造函数或加载操作有关,但失败了。据我所知,我可以通过调查堆栈跟踪来识别错误,但我不知道如何使用它
嗯我检测到错误,我没有提到,但我使用Modern UI for WPF(https://mui.codeplex.com/discussions/create),然后我创建了全新的Modern UI项目,它也有同样的问题。 我将不胜感激任何帮助。
答案 0 :(得分:0)
问题在于Avast杀毒软件