I have a custom SharePoint job that is erroring out when it tries to run. When I look at the error i see:
Could not load file or assembly
‘Microsoft.Contracts, Version=1.0.0.0,
Culture=neutral,
PublicKeyToken=736440c9b414ea16’ or
one of its dependencies. The system
cannot find the file specified.
I’ve searched my solution and there is no reference to this anywhere. Where could this be coming from?
Microsoft.Contracts (CodeContracts) is the assembly in which are contained the methods that “provides a language-agnostic way to express coding assumptions in .NET programs”.
Maybe some external assembly is searching this one.