I'm developing a .NET application in C# (.NET Framework 3.5 console application) using Visual Studio 2010. (Win7 64bit) After a machine crash, I copied my project from the old HD to the new one. Now on the new machine, whenever I build, I get the error message:
The type 'Bloomberglp.AppPortalApi.DataPersistence.ExtensibleDataObject' is defined in an assembly that is not referenced. You must add a reference to the assembly 'Bloomberglp.AppPortalAPI, version=1.3.5.1, Culture=neutral, PublicKeyToken=51f5d93763bdb58e'.
It's attached to the definition of the first method in the "Program" class, which obviously doesn't mention it.
However, I'm not using this type anywhere in my project, and none of the references in my project are using it either. I had used it previously, but all references to it have been removed...so I thought. I searched for it but can't find it in any of the .cs files. It's not findable in the Object Browser either. So where/how should I be looking for it?
Edit: Found C# type defined in an assembly that is not referenced ; there are no references to the the type or the dll in the .csproj
Switching my target between x86 and any cpu and recompiling had no effect, nor did switching back.