We are getting a weird error from our TFS Build where specific project that we created (Server-Side C# Class Lib) is housing our server side interceptors. In certain instances when we reference our derived types of UserBase or Entity, we get the following error.
Interceptors\EntityServerSaveHandler.cs (20): The type 'IdeaBlade.EntityModel.UserBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'IdeaBlade.EntityModel.SL, Version=6.0.3.1, Culture=neutral, PublicKeyToken=287b5094865421c0'.
Interceptors\EntityServerSaveHandler.cs (21): The type 'IdeaBlade.EntityModel.Entity' is defined in an assembly that is not referenced. You must add a reference to assembly 'IdeaBlade.EntityModel.SL, Version=6.0.3.1, Culture=neutral, PublicKeyToken=287b5094865421c0'.
I already have references to the non-SL versions of IdeaBlade assemblies and have them CopyLocal = True.. Everything compiles locally for our development team, only MSBuild fails which is ruining our continuous integration builds.
THanks,
James