Reputation: 24723
Started with a default Prism Shell project and all was working as expected.
I began making changes and modifications and now the application is started twice.
protected override DependencyObject CreateShell()
The above override is only called once. The constructor(s) in the ShellView
are being called twice. Once for the default constructor and once for a constructor taking an instance of the ShellViewModel
.
Not sure what exactly is causing this however my hunch is that something was inadvertently modified and a trivial solution awaits...
Upvotes: 2
Views: 591
Reputation: 24723
StartupUri
was set; my belief is that this happened when opening the solution with Expression Blend.
Upvotes: 5