I\'ve seen this: VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515) and none of the answers work. It also doesn\'t appear when I b
I saw from other forum regarding this issue, and here is the solution someone posted: On the property of the project that contains the DLL assembly that would not load, go to the Build setting, and way at the bottom where it says "Generate serialization assembly:", the default is Auto. Set that to Off. Your solution should then build OK.
This happened to me when I had the API in a webform solution with multiple project. It worked OK on a single-project solution MVC.