No key defined error on entity after branching in TFS
问题 We are consistently getting the following RIA error message, after branching a team project in TFS: The Entity 'abc' in DomainService 'MyDomainService' does not have a key defined. Entity types exposed by DomainService operations must have at least one public property marked with the KeyAttribute. Everything works in the source branch, and when comparing the two branches there is absolutely no difference. I have also tried to install TFS 2012 on a virtual machine, import the project there,