Prerequisites for creating sharepoint 2010 apps in Visual Studio Console Application

I wanted to test my sharepoint application using console application using VisualStudio 2010. I was able to add the reference to “Microsoft.SharePoint” dll. But while compling the code, the compiler was throwing error. To resolve this issuemake the followinf changes: 1) Select “.Net Framework 3.5” in the New Project Dialog Window while creating a new…