Use 32bit “Program Files” directory in msbuild

In MSBuild 4.0+, there’s a $(MSBuildProgramFiles32) property for it, which you can confidently employ directly (especially if you’re prepared to put a ToolsVersion=”4.0″ at the top of the file to guarantee it’s going to be available and Fail Fast if it’s not). If you’re not and need something that can Do The Right Thing even … Read more