Skip to content

Exceptionless.Windows vs Exceptionless.Wpf #290

@mgnslndh

Description

@mgnslndh

I am a user of the Exceptionless.Wpf package. While looking at the source code for Exceptionless I stumbled upon ExceptionlessWindowsEnvironmentInfoCollector.cs. My app runs on Windows but I'm not seeing those process related properties in my exception reports. After some further investigation I understood that the Exceptionless.Windows package seems to be aimed at WinForms applications. The extension method ExceptionlessWindowsExtensions.Register wires up both WinForms exception handler and registers the ExceptionlessWindowsEnvironmentInfoCollector.

But I want those process handles, so I added the Exceptionless.Windows package but now I have a clash between the two Register extension methods. That can be solved, and I can register the collector with the resolver by hand.

So, all in all I have probably worked around the problem but it really seems like the Wpf package should have the Windows environment collector by default.

Maybe the packages should be split into:

  • Exceptionless.Windows
  • Exceptionless.WinForms or Exceptionless.Windows.WinForms
  • Exceptionless.Wpf or Exceptionless.Windows.Wpf

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions