我已经从我的WPF应用程序创建了一个ClickOnce应用程序部署清单,但是当我尝试安装它时,这会崩溃并且我收到以下错误日志:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: phynix.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 54b90fb3
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.17929
Problem Signature 06: 4ffa561c
Problem Signature 07: 43c4
Problem Signature 08: 105
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1031
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
有人知道这是什么问题吗?
答案 0 :(得分:4)
XamlParse
异常表示无法读取XAML或无法正确执行从中生成的代码。
通常是:
答案 1 :(得分:1)
尝试在UnhandledException
中联系WPF
个事件,并在app.xaml
中添加事件连接,以避免上述异常。
参考:How can I get useful WPF .NET error information from a user's machine?