I have created a WPF application and deployed it to a location on my PC. I have installed it fine but when I open the applicaiton link I keep getting an error message saying the application has stopped working. I am running this on the same PC that I created the application on.
Sorry if this is a silly and really easy fix but I am new to deploying applications so may have missed something out.
thank you
It`s usually a good idea to catch such unhandled exceptions and show some notification to user. To do so in WPF app you can add event handlers to
DispatcherUnhandledExceptionandAppDomain.CurrentDomain.UnhandledExceptionin App class constructor.This will allow you to show exception details in MessageBox or log them by any other means.