' If you find the above issue coming up when using Visual Studio 2008 on Windows Server 2008 R2 for SharePoint 2007 development, just say Yes and ensure, VS 2008 SP1 is installed.
After a long time back today i got time to blog something interesting for Developers. SharePoint 2010 - 101 Code Samples please go through the above sample code.