Reputation: 61
We have a project which utilizes Sharp Architecture. For the purposes of some testing, we made some adjustments to strongly type some assemblies.
Following this, the project would no longer build. VS2010 complained that:
error CS0012: The type 'SharpArch.Core.PersistenceSupport.IRepositoryWithTypedId`2' is defined in an assembly that is not referenced. You must add a reference to assembly 'SharpArch.Core, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b5f559ae0ac4e006'.
The reference has been removed and re-added. It's also in the GAC and we've verified that the Public Key Token matches.
Upvotes: 1
Views: 339
Reputation: 269
Just check if you are running in x64 mode. Otherwise things will not work. Go to the vs project properties and change it to x64.
Upvotes: 1
Reputation: 70327
This is my checklist with the most likely cause on top.
Upvotes: 0