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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top