System.InvalidOperationException: 'Cannot create more than one System.Windows.Application instance in the same AppDomain.'

System.Windows.Application is a singleton: its constructor must only be invoked once (including App.xaml de-xamlization), or exception is thrown.

Guess you like

Origin www.cnblogs.com/Fred1987/p/10990803.html