title: Monogame Object reference not set to an instance error
body: <p>Guys need help in this problem a while. I code in visual C# express 2010 and monogame 2.5 to make game in windows, load some image using Texture2D for the game and compile. But when I try to compile the project it gives me this error. Object reference not set to an instance of an object.</p>
  
  <pre><code>    private static Game1 game;
  
      /// &lt;summary&gt;
      /// The main entry point for the application.
      /// &lt;/summary&gt;
      [STAThread]
      static void Main()
      {
          game = new Game1();
          game.Run();//This line gives the warning
      }
  }
  </code></pre>
  
  <p>I try this code </p>
  
  <pre><code>Game1 game = new Game1();
  game.Run();
  </code></pre>
  
  <p>but it didn't work, still it gives this error. </p>
  
  <blockquote>
    <p><em>Object reference not set to an instance of an object</em></p>
  </blockquote>
  
  <p>Did I miss something or should I install something to solve this?</p>