Everytime I try to add a class library to my SharePoint 2010 solution (which consists of about 4 other projects), I get the error:

Could not load file or assembly 'AF.XMLMapping, Version=, Culture=neutral, PublicKeyToken=9b6f7c4a5378aa06' or one of its dependencies. The system cannot find the file specified.

I have even tried adding an empty SharePoint project but I stil get the same error. The strange thing is, the solution builds and deploys fine, I only get the error when I step into the method that contains the lines of code that calls this newly added project. I made sure it was referenced in the "References" part of the the calling project as well as every other project in the solution.

Anyone have any clue as to why I am unable to add any kind of project to my existing SharePoint solution?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.