From 404e1415f952a1dfa82607cb8e32661c9167a5e3 Mon Sep 17 00:00:00 2001 From: Ivan Mitev Date: Mon, 22 Jan 2018 16:38:47 +0200 Subject: [PATCH 1/2] Added .NET 2.0 target --- src/LitJson/LitJSON.csproj | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/LitJson/LitJSON.csproj b/src/LitJson/LitJSON.csproj index d935384..a2c967a 100644 --- a/src/LitJson/LitJSON.csproj +++ b/src/LitJson/LitJSON.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net45;netstandard1.5;net40;net35 + netstandard2.0;net45;netstandard1.5;net40;net35;net20 @@ -31,6 +31,11 @@ It's quick and lean, without external dependencies. true + + $(DefineConstants);LEGACY + C:\Windows\Microsoft.NET\Framework\v2.0.50727 + + $(DefineConstants);LEGACY C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client From 3fb02a2d42b818d9f505143712beb78b6e5c9a7a Mon Sep 17 00:00:00 2001 From: Ivan Mitev Date: Mon, 22 Jan 2018 16:56:16 +0200 Subject: [PATCH 2/2] Updated README with the latest supported .NET targets --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e66672c..40f029e 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,11 @@ LitJSON currently targets and supports * .NET Standard 2.0 * .NET Standard 1.5 * .NET Framework 4.5 and above +* .NET Framework 4.0 +* .NET Framework 3.5 (including SQLCLR, for which [WCOMAB/SqlServerSlackAPI](https://github.com/WCOMAB/SqlServerSlackAPI) is an example of) +* .NET Framework 2.0 * Mono 4.4.2 and above -But the code is very portable and can even be compiled under SQLCLR, which [WCOMAB/SqlServerSlackAPI](https://github.com/WCOMAB/SqlServerSlackAPI) is an example of. - #### Prereleases Each merge to develop is published to our NuGet feed on [MyGet](mygetgallery).