title: The name 'InitializeControl' does not exist in the current context (SharePoint 2010, Visual Studio 2010)
body: <p>I got this problem when I create sandbox solution for SharePoint 2010 using Visual Studio 2010.</p>
  
  <p>Image: <a href="http://imageshack.us/photo/my-images/812/sp20102y.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/812/sp20102y.jpg/</a></p>
  
  <p>I use my local machine to create this solution after doing development environment as this post showed (<a href="http://blog.raminassar.com/2011/10/14/working-with-sharepoint-2010-projects-on-visual-studio-without-installing-the-server/" rel="nofollow">link</a>). I want to deploy this solution to the server installed SharePoint Server 2010, but Visual Studio 2010 gives me this problem. Can you suggest me a solution for this? Thank you.</p>