Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF Application doesn't work on some machines: Stopped working error

My WPF application works fine on a number of machines, but now I get a report about this error on a user machine:

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

I was trying to catch Exception using Application DispatcherUnhandledException but this didn't help. And warping Window1 constructor in try/catch block too. .NET Framework 3.5 is installed on that machine.

How can I figure out the reason of crashing: log this error, debug, ...?

like image 227
Hun1Ahpu Avatar asked Apr 09 '10 09:04

Hun1Ahpu


People also ask

Is WPF still relevant 2022?

“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.

Does WPF work on Windows 11?

With the R2 2022 release of the UI for WPF suite we have introduced the brand new Windows 11 Theme . Inspired by the refreshed Windows 11 OS, the Windows 11 theme delivers a lot cleaner and smoother look and feel to your WPF apps.

Does .NET Core 3.1 support WPF?

NET Core 3.1 Support for ASP.NET Core, WinForms, and WPF Controls (v19. 2.5) DevExpress components that are compatible with .


1 Answers

Just verify you have installed .Net Framework 3.5sp1.

like image 199
Kishore Kumar Avatar answered Oct 01 '22 18:10

Kishore Kumar