Was getting the below error while trying to build a unit test project (framework version 4.5.2) in VS 2012.

Delete the .messages file as suggested in some forums, but that didn’t help.

Just tried building the project by changing the Target Framework to 4.6.

That worked and after that on switching back the target version to 4.5.2 also worked.
Helpful post
Hope it helps..
Filed under: CRM 2011, CRM 2013, CRM 2015, Unit Testing Tagged: CRM 2011, CRM 2013, CRM 2015, Microsoft Dynamics CRM

Like
Report
*This post is locked for comments