I'm writing a deployment application to programmatically deploy site collections and apply templates and master pages. When I try to build the application I get a bunch of errors about a missing assembly reference (Microsoft.SharePoint.Client.Runtime)
I added the missing reference and the errors disappeared to be replaced by a single new error:
2 The type or namespace name 'Runtime' does not exist in the namespace 'Microsoft.SharePoint.Client' (are you missing an assembly reference)
No I'm not missing an assembly reference, I just added it to fix the other errors and the intellisense wavy red line for this error is in the 'Using' statement itself. Its like VS2013 believes the .dll doesn't exist despite it being added to the projects reference list.
I'm completely stuck and google is no help, can anyone shed some light on this for me?