bugsnag / bugsnag-dotnet

.NET notifier for BugSnag. Error monitoring and error reporting for .NET.
https://docs.bugsnag.com/platforms/dotnet/
MIT License
60 stars 29 forks source link

Bugsnag crashes WPF application #131

Closed NikasZalias closed 3 years ago

NikasZalias commented 4 years ago

When installed the latest bugsnag version for WPF app. It crashes app, cause AppName.exe.config is not found.

Previous versions didn't have this bug.

Steps to reproduce

  1. Create WPF app with bugsnag nuget installed and configure it.
  2. Delete appname.exe.config file (cause it is not needed for app to run successfully.)
  3. start the app and it will crash.

Environment

mattdyoung commented 4 years ago

Hi @NikasZalias

WPF applications are not yet supported by the v2.x integration. The documentation recommends using v1.4.0: https://docs.bugsnag.com/platforms/dotnet/wpf/

Can you confirm whether there's still an issue with WPF apps using v1.4.0, or with the latest on other types of .NET project?

NikasZalias commented 4 years ago

Hey @mattdyoung

WPF app works fine with 2.2.0 version and below.

What is the ETA to make it compatible with WPF apps?

mattdyoung commented 4 years ago

We don't yet have an ETA for when we can add full WPF support in v2.x.

This does look like a potential issue with other types of .NET project as well though.

yousif-bugsnag commented 3 years ago

This is now fixed in v2.2.2