Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Use v4.5 and MSBuild v12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fsgit committed Oct 16, 2014
1 parent 4e42549 commit 86bba87
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
6 changes: 1 addition & 5 deletions 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
Expand Down
12 changes: 6 additions & 6 deletions src/fsharp/FSharp.Compiler-proto/FSharp.Compiler-proto.fsproj
Expand Up @@ -17,7 +17,7 @@
<BuildWith>LKG</BuildWith>
<AllowCrossTargeting>true</AllowCrossTargeting>
<OtherFlags>$(OtherFlags) --warnon:1182</OtherFlags>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<!-- MonoDevelop likes these here to recognise the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
Expand Down Expand Up @@ -424,13 +424,13 @@
<Reference Include="System.Drawing" />
<Reference Include="System.Numerics" />
<Reference Include="System.Runtime.Remoting" />
<Reference Include="Microsoft.Build.Framework" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Engine" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="System.Numerics" Condition="'$(TargetFramework)' == 'net40'" />
<Reference Include="ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Utilities.v4.0" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Tasks.v4.0" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Framework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build.Engine, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build.Utilities.v12.0" />
<Reference Include="Microsoft.Build.Tasks.v12.0" />

</ItemGroup>
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
Expand Down
Expand Up @@ -10,7 +10,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{649FA588-F02E-457C-9FCF-87E46407481E}</ProjectGuid>
<OutputType>Library</OutputType>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<DefineConstants>EXTENSIONTYPING;$(DefineConstants)</DefineConstants>
<AssemblyName>FSharp.Compiler.Interactive.Settings</AssemblyName>
<FileAlignment>512</FileAlignment>
Expand Down
10 changes: 5 additions & 5 deletions src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj
Expand Up @@ -509,11 +509,11 @@
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Runtime.Remoting" />
<Reference Include="Microsoft.Build.Framework" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Engine" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Utilities.v4.0" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Tasks.v4.0" Condition="'$(TargetFramework)'=='net40'" />
<Reference Include="Microsoft.Build.Framework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build.Engine, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.Build.Utilities.v12.0" />
<Reference Include="Microsoft.Build.Tasks.v12.0" />
<Reference Include="ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(TargetFramework)'=='net40'" />
<ProjectReference Include="..\FSharp.Core\FSharp.Core.fsproj" >
<Project>{DED3BBD7-53F4-428A-8C9F-27968E768605}</Project>
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/Fsc-proto/Fsc-proto.fsproj
Expand Up @@ -20,7 +20,7 @@
<ProjectGuid>{9D7C9060-9263-40EB-8FE3-1E4E3C6D941C}</ProjectGuid>
<AllowCrossTargeting>true</AllowCrossTargeting>
<OtherFlags>$(OtherFlags) --stackReserveSize:4096000</OtherFlags>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<!-- MonoDevelop likes these here to recognise the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
Expand Down

0 comments on commit 86bba87

Please sign in to comment.