WPF应用程序在某些计算机上不起作用:停止工作错误

Hun*_*hpu 6 .net c# wpf error-handling

我的WPF应用程序在许多机器上运行良好,但现在我在用户机器上收到有关此错误的报告:

Description:
  Stopped working

Problem signature:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    mysoftware.exe
  Problem Signature 02:    1.0.0.1
  Problem Signature 03:    4bbcd9d9
  Problem Signature 04:    PresentationFramework
  Problem Signature 05:    3.0.0.0
  Problem Signature 06:    4a174fbc
  Problem Signature 07:    624f
  Problem Signature 08:    e1
  Problem Signature 09:    System.Windows.Markup.XamlParse
  OS Version:    6.1.7600.2.0.0.256.48
  Locale ID:    1033
Run Code Online (Sandbox Code Playgroud)

我试图使用Application DispatcherUnhandledException捕获Exception,但这没有帮助.并且在try/catch块中也翘曲Window1构造函数..NET Framework 3.5安装在该计算机上.

如何找出崩溃的原因:记录此错误,调试,......?

Kis*_*mar 4

只需验证您是否已安装 .Net Framework 3.5sp1。