ookii-dialogs / ookii-dialogs-wpf

Awesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF)
BSD 3-Clause "New" or "Revised" License
1.14k stars 85 forks source link

Catch & wrap EntryPointNotFoundException with a friendly message #30

Closed augustoproiete closed 3 years ago

augustoproiete commented 3 years ago

In .NET Core 3.1 and .NET 5 apps using Ookii.Dialogs need to add an app.manifest file to the application using Ookii Dialogs for it to to work, otherwise the user gets and EntryPointNotFoundException.

One idea would be to catch this exception and wrap it into an OokiiDialogsException with a friendly message explaining the need for the app.manifest, with a hyperlink to docs on how to do it.

augustoproiete commented 3 years ago

Superseded by #31.