Developing a console app using sharepoint 2010 object model in visual studio 2010. Encountered issue where Microsoft.SharePoint namespace is not recognized even project has referenced the SharePoint dll.
Solution:
Go to project setting and Make sure to target 3.5 .net framework.
No comments:
Post a Comment