Skip to content

Commit 1fcee4e

Browse files
committed
Deprecate NET40
1 parent f9e1d91 commit 1fcee4e

26 files changed

Lines changed: 64 additions & 776 deletions

FSharpx.Extras.Tests/FSharpx.Extras.Tests.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>Library</OutputType>
99
<RootNamespace>FSharpx.Extras.Tests</RootNamespace>
1010
<AssemblyName>FSharpx.Extras.Tests</AssemblyName>
11-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1212
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion>
1313
<Name>FSharpx.Extras.Tests</Name>
1414
<TargetFrameworkProfile />

FSharpx.Extras.Tests/app.config

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<runtime>
4-
5-
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
6-
<dependentAssembly>
7-
<Paket>True</Paket>
8-
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
9-
<bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="4.4.0.0" />
10-
</dependentAssembly>
11-
</assemblyBinding></runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<Paket>True</Paket>
7+
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
8+
<bindingRedirect oldVersion="2.0.0.0" newVersion="4.3.0.0" />
9+
<bindingRedirect oldVersion="2.3.5.0" newVersion="4.3.0.0" />
10+
<bindingRedirect oldVersion="4.0.0.0" newVersion="4.3.0.0" />
11+
</dependentAssembly>
12+
</assemblyBinding>
13+
</runtime>
14+
<startup>
15+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
16+
</startup>
1217
</configuration>

build.fsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ open Fake.ReleaseNotesHelper
77
open System.IO
88

99

10-
// .NET Frameworks
11-
let net40 = "v4.0"
10+
let net45 = "v4.5"
1211

1312
// directories
1413
let buildDir = "./bin"
@@ -36,7 +35,7 @@ let gitName = "FSharpx.Extras"
3635
System.Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
3736
let release = parseReleaseNotes (File.ReadAllLines "RELEASE_NOTES.md")
3837

39-
let fxVersions = [net40]
38+
let fxVersions = [net45]
4039

4140
let normalizeFrameworkVersion fxVersion =
4241
let v = ("[^\\d]" >=> "") fxVersion
@@ -93,7 +92,7 @@ Target "Build" (fun _ ->
9392

9493
Target "Test" (fun _ ->
9594
ActivateFinalTarget "CloseTestRunner"
96-
for fxVersion in [net40] do
95+
for fxVersion in [net45] do
9796
printfn "buildDirVer fxVersion = %s" (buildDirVer fxVersion)
9897
!! (buildDirVer fxVersion @@ "*.Tests.dll")
9998
|> NUnit (fun p ->

src/FSharpx.Extras/CSharpCompat.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ open FSharpx.Collections
99
open FSharpx.Functional
1010
open FSharpx.Control
1111
open FSharpx
12-
12+
open Microsoft.FSharp.Control.WebExtensions
1313

1414
[<assembly:Extension>]
1515
do()

src/FSharpx.Extras/FSharpx.Extras.fsproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<OutputType>Library</OutputType>
1010
<RootNamespace>FSharpx</RootNamespace>
1111
<AssemblyName>FSharpx.Extras</AssemblyName>
12-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion>
1414
<Name>FSharpx.Extras</Name>
1515
<TargetFrameworkProfile>
@@ -59,7 +59,6 @@
5959
<Compile Include="Prelude.fs" />
6060
<Compile Include="Pluralizer.fs" />
6161
<Compile Include="Strings.fs" />
62-
<Compile Include="JSON.fs" />
6362
<Compile Include="IO.fs" />
6463
<Compile Include="Monoid.fs" />
6564
<Compile Include="Linq\Linq.fsi" />

src/FSharpx.Extras/Iteratee.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ open System
55
open System.Collections
66
open System.Collections.Generic
77
open FSharpx.Collections
8-
open FSharp.Control
8+
open Microsoft.FSharp.Control
99

1010
(*
1111
# Iteratee

0 commit comments

Comments
 (0)