From f8b44a1785928d4691d44896d33706a940f9be15 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Fri, 27 Jun 2014 12:06:13 -0400 Subject: [PATCH] Use the MSBuild that comes with Visual Studio See http://msdn.microsoft.com/en-us/library/hh162058.aspx --- brightray/script/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brightray/script/build b/brightray/script/build index b13f892b64f0..f337c37615b3 100755 --- a/brightray/script/build +++ b/brightray/script/build @@ -25,7 +25,8 @@ def build(): return subprocess.call(['make']) assert sys.platform == 'win32', sys.platform - msbuild = os.path.join(os.environ['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe') + program_files = os.environ.get('PROGRAMFILES(X86)', os.environ['PROGRAMFILES']) + msbuild = os.path.join(program_files, 'MSBuild', '12.0', 'Bin', 'MSBuild.exe') return subprocess.call([msbuild, 'brightray.sln'])