I have a C++/Cx component which I use in a C# DirectX Metro app.
It worked fine.
until my latest innocuous changes.. where my C# project can't use the C++/Cx project anymore, I got this error:
"There was a problem reading metadata from 'C:\Dev\WinRTDirectXSamples\Debug\DXBase\DXBase.winmd' ('An attempt was made to load a program with an incorrect format.')."
Reverting the changes made it work
(only a few properties / method in the C++ component changed, i.e. no project - target architecture changes)