Skip to content

Commit 404e141

Browse files
committed
Added .NET 2.0 target
1 parent e9805e7 commit 404e141

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/LitJson/LitJSON.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net45;netstandard1.5;net40;net35</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net45;netstandard1.5;net40;net35;net20</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -31,6 +31,11 @@ It's quick and lean, without external dependencies.</Description>
3131
<IncludeSource>true</IncludeSource>
3232
</PropertyGroup>
3333

34+
<PropertyGroup Condition="'$(TargetFramework)' == 'net20' ">
35+
<DefineConstants>$(DefineConstants);LEGACY</DefineConstants>
36+
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net20' and '$(OS)' == 'Windows_NT'">C:\Windows\Microsoft.NET\Framework\v2.0.50727</FrameworkPathOverride>
37+
</PropertyGroup>
38+
3439
<PropertyGroup Condition="'$(TargetFramework)' == 'net35' ">
3540
<DefineConstants>$(DefineConstants);LEGACY</DefineConstants>
3641
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35' and '$(OS)' == 'Windows_NT'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>

0 commit comments

Comments
 (0)