I have three Visual Studio solutions. The first is configured to build as Release, and the other two are set to build as Debug.
When running a simp
I was getting this same error. The solution was to explicitly specify the target platform with:
msbuild.exe /p:Platform="Any CPU"
This only started happening since I upgraded to windows 7, so I guess it is something to do with that.