Problem:
In TFS 2012, you may face the following build error
“There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference “x.dll”, “x86″. This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.”
Resolution:
Modify project file and add the following property to your project
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchite
ctureMismatch>
</PropertyGroup>