One of my colleagues meets the message above during building solution which has a test project. Because the solution he found isnt trivial I decided to distribute it here too:
Refresh accessors in Test References or add if some of them are missing.
Using accessors is obsolete now, but if You have an ancent project with them which wont compile with this error I hope You find useful this info.