Our program is using Prism 2.0. The program defines the "Application" class somewhere else and then calling the Prism bits. I can't seem to get this to work. I have narrowed the problem to the following simple steps:
- Take the HelloWorld.Desktop example that is in the QuickStart folder.
- Exclude the App.xaml (and corresponding cs) file.
- Instead put the following Program.cs file. What is really interesting is that the application works if I use the "dummy" App2 class. If I use the "Application" class, the program does not display the contents of the shell
window. Can anyone please help explain what is the connection between Prism and the Application class?
public class App2 : Application
static void Main(string args)
// Program does not work if I use Application()
var app = new Application();
// Program works if I use App2(). App2 derived from Application but does nothing in and of itself.
//var app = new App2();
var bs = new Bootstrapper();