I am using Visual Studio 2012 C#. I have created a WPF application project with a main window and added a login window to my project. I want to change the startup window to be my login window but can't seem to do so. 

I went to the properties but all I see there is Myproject.app - should it not display the forms of my project? 

Anyway I have tried running the window from code as well like so :

```
Application.Run(new Login());

```

But that does not seem to work. It gives an error saying :

> 
> Error 1 An object reference is required for the non-static field, method, or property 'System.Windows.Application.Run(System.Windows.Window)'
> 
> 
>