From 86bba87287f242a06c9634cbce4332a76cdc2473 Mon Sep 17 00:00:00 2001 From: F# Software Foundation Date: Thu, 16 Oct 2014 18:47:14 +0100 Subject: [PATCH] Use v4.5 and MSBuild v12.0 --- build.bat | 6 +----- .../FSharp.Compiler-proto.fsproj | 12 ++++++------ .../FSharp.Compiler.Interactive.Settings.fsproj | 2 +- src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj | 10 +++++----- src/fsharp/Fsc-proto/Fsc-proto.fsproj | 2 +- 5 files changed, 14 insertions(+), 18 deletions(-) diff --git a/build.bat b/build.bat index c1665da01d..78d27275bc 100644 --- a/build.bat +++ b/build.bat @@ -1,10 +1,6 @@ @echo off ::Env -if %PROCESSOR_ARCHITECTURE%==x86 ( - set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" -) else ( - set MSBUILD=%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe -) +set MSBuild="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" ::Clean del /F /S /Q lib\proto diff --git a/src/fsharp/FSharp.Compiler-proto/FSharp.Compiler-proto.fsproj b/src/fsharp/FSharp.Compiler-proto/FSharp.Compiler-proto.fsproj index 47f1a45ab2..c2c699e159 100644 --- a/src/fsharp/FSharp.Compiler-proto/FSharp.Compiler-proto.fsproj +++ b/src/fsharp/FSharp.Compiler-proto/FSharp.Compiler-proto.fsproj @@ -17,7 +17,7 @@ LKG true $(OtherFlags) --warnon:1182 - v4.0 + v4.5 @@ -424,13 +424,13 @@ - - - - - + + + + + diff --git a/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj b/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj index e80535eac6..7a17c3128c 100644 --- a/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj +++ b/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj @@ -10,7 +10,7 @@ AnyCPU {649FA588-F02E-457C-9FCF-87E46407481E} Library - v4.0 + v4.5 EXTENSIONTYPING;$(DefineConstants) FSharp.Compiler.Interactive.Settings 512 diff --git a/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj b/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj index e5bf64bf2a..346a7d4f6a 100644 --- a/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj +++ b/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj @@ -509,11 +509,11 @@ - - - - - + + + + + {DED3BBD7-53F4-428A-8C9F-27968E768605} diff --git a/src/fsharp/Fsc-proto/Fsc-proto.fsproj b/src/fsharp/Fsc-proto/Fsc-proto.fsproj index 851acfbfea..15bd48bab4 100755 --- a/src/fsharp/Fsc-proto/Fsc-proto.fsproj +++ b/src/fsharp/Fsc-proto/Fsc-proto.fsproj @@ -20,7 +20,7 @@ {9D7C9060-9263-40EB-8FE3-1E4E3C6D941C} true $(OtherFlags) --stackReserveSize:4096000 - v4.0 + v4.5