I'm getting the following error when I try to build my C++ / CX WinRT component for ARM:
error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in ColorSpc.obj
The file ColorSpc.cpp is in the same project, which is not linking to any other libraries (other than the default).
If I remove that file from the project, then the linker complains about the next .cpp file (and so on).
I'm getting the same error whether I build Release or Debug (only the libraries mentioned are release or debug respectively).
The project builds fine for Win32 and x64.