c# WCF service reference to Lists.asmx complaining about Microsoft.SharePoint.dll
Posted on 2013-02-01
We have encountered a very odd issue and hopefully someone can shed some light on the issue.
We have a class library project that contains a service reference to the SharePoint Lists.asmx web service so that we can import task lists from SharePoint. I have been building and developing with this project for months in my development environment without any issues.
I do not have SharePoint installed on my workstation.
I do not have the Microsoft.SharePoint assembly on my workstation at all.
We have recently hired a new developer and we are trying to establish our solution in a new development environment. Everything builds more or less fine except for one particular project where we receive the following error:
Could not load file or assembly 'Microsoft.SharePoint, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Like I said earlier, I do not have this anywhere in my development environment, GAC, Windows Search does not find anything when searching for Microsoft.SharePoint*.*, and I have no issues on my workstation.
What could we be missing on the new workstation?