Generate a script that configures build environment and runs msbuild.