Kaydet (Commit) 6b0b50e0 authored tarafından Peter Foley's avatar Peter Foley

Fix build with VS2010

Change-Id: Ic3bbb20c446545d67682a6c547fb69e2255eb0b7
üst d7c7061f
...@@ -200,11 +200,11 @@ sub print_msvs_productdir() ...@@ -200,11 +200,11 @@ sub print_msvs_productdir()
sub print_csc_compiler_dir() sub print_csc_compiler_dir()
{ {
my $dir = cygpath (reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/InstallRoot"), 'w', $output_format); my $csc_exe =
my $csc_exe = `/bin/find "$dir" -iname csc.exe | grep "v3\.5\." | head -n 1` || reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/NET Framework Setup/NDP/v4/Client/InstallPath") ||
`/bin/find "$dir" -iname csc.exe | grep "v4\." | head -n 1` || reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/NET Framework Setup/NDP/v3.5/InstallPath") ||
`/bin/find "$dir" -iname csc.exe | grep "v2\." | head -n 1`; reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/InstallRoot") . "v2.0.50727";
print `dirname $csc_exe`; print cygpath ($csc_exe, 'w', $output_format);
} }
sub print_dotnetsdk_dir() sub print_dotnetsdk_dir()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment