$ 0 0 Setting "MSBuild platform" in the build definition to "X86" instead of "Auto" fixed the problem.