prism - multiple MainWindow

  • Thread starter Thread starter kazik
  • Start date Start date
K

kazik

Hi,

I just started using Prism and after I run my application, 2
MainWindows always run.
Do anyone has the idea why?
I did something incorrect in bootstrapper?

regards
daniel
 
I already know what was wrong.
It would be nice if you would tell us what was wrong and how you fixed
it! There might be other that have the same problem!

// Anders
 
Hi,

I just started using Prism and after I run my application, 2
MainWindows always run.
Do anyone has the idea why?
I did something incorrect in bootstrapper?
The bootstrapper is creating one instance while the other is
automagically created using the StartupUri setting in the App.xaml
markup. The solution is to remove the StartupUri attribute from the
markup.

regards
A.G.
 
Back
Top