Skip to content

Commit

Permalink
add .NET Standard 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robinrodricks committed Oct 1, 2020
1 parent fdf9e55 commit 75bbed2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
8 changes: 6 additions & 2 deletions FluentFTP/FluentFTP.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net20;net35;net40;net45;netstandard1.4;netstandard1.6;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net20;net35;net40;net45;netstandard1.4;netstandard1.6;netstandard2.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net20' Or '$(TargetFramework)'=='net35' Or '$(TargetFramework)'=='net40' Or '$(TargetFramework)'=='net45'">
Expand All @@ -13,10 +13,14 @@
<DefineConstants>$(DefineConstants);LINQBRIDGE_LIB</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.6' Or '$(TargetFramework)'=='netstandard1.4' Or '$(TargetFramework)'=='netstandard2.0'">
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.6' Or '$(TargetFramework)'=='netstandard1.4' Or '$(TargetFramework)'=='netstandard2.0' Or '$(TargetFramework)'=='netstandard2.1'">
<DefineConstants>$(DefineConstants);CORE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0' Or '$(TargetFramework)'=='netstandard2.1'">
<DefineConstants>$(DefineConstants);CORE2PLUS</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.4'">
<DefineConstants>$(DefineConstants);CORE14;NO_SSL</DefineConstants>
</PropertyGroup>
Expand Down
Binary file modified Powershell/FluentFTP.dll
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ FluentFTP works on .NET and .NET Standard/.NET Core.
| **.NET Standard 1.4** | netstandard1.4 |
| **.NET Standard 1.6** | netstandard1.6 |
| **.NET Standard 2.0** | netstandard2.0 |
| **.NET Standard 2.1** | netstandard2.1 |

FluentFTP is also supported on these platforms: (via .NET Standard)

Expand Down
6 changes: 4 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Release Notes

#### 32.4.6
- Upgrade `System.Net.Security` from version 4.3.0 to 4.3.2 to fix security issues
- Fix comment for `UploadFile`/`UploadFileAsync`/`DownloadFile`/`DownloadFileAsync` methods
- Platform: Add support for .NET Standard 2.1
- Platform: Upgrade `System.Net.Security` from version 4.3.0 to 4.3.2 to fix security issues
- Performance: Quickly abort detection if host is unavailable during `AutoDetect`/`AutoConnect`
- Fix: Comment for `UploadFile`/`UploadFileAsync`/`DownloadFile`/`DownloadFileAsync` methods

#### 32.4.5
- Fix: Uncatchable NullReferenceException is occasionally thrown from `ConnectAsync`
Expand Down

0 comments on commit 75bbed2

Please sign in to comment.