Share via


The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) inspite of correct references set.

Are you facing this? and the reference is already referred properly still getting this?

The issue could be .NetFramework version set incorrectly.

Make sure for SP 2013 it is set to 4.5

image

If it is not set it to 4.5 and the error should be gone

Comments

  • Anonymous
    November 06, 2014
    Phewww!!! Search around so much and couldn't find this could be the issue.  Thanks for posting !!

  • Anonymous
    June 14, 2016
    Is .NET Framework 3.5 correct for Sharepoint 2010?