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 (2)

  1. Samar says:

    Phewww!!! Search around so much and couldn't find this could be the issue.  Thanks for posting !!

  2. T says:

    Is .NET Framework 3.5 correct for Sharepoint 2010?

Skip to main content