This error could also be due to mixing a file reference to '|2' in project '|3' with a file reference to '|4' in project ...

|1 This error could also be due to mixing a file reference to '|2' in project '|3' with a file reference to '|4' in project '|5'.  If both assemblies are identical, try replacing these references so both references are from the same location.