Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 52082ae

Browse files
committed
restore .csproj
1 parent 15a9d70 commit 52082ae

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ServiceStack.Text/ServiceStack.Text.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<PackageId>ServiceStack.Text</PackageId>
44
<AssemblyName>ServiceStack.Text</AssemblyName>
5-
<TargetFrameworks>netstandard2.0;netcoreapp2.1;net6.0</TargetFrameworks>
5+
<TargetFrameworks>net45;netstandard2.0;netcoreapp2.1;net6.0</TargetFrameworks>
66
<Title>.NET's fastest JSON Serializer by ServiceStack</Title>
77
<PackageDescription>
88
.NET's fastest JSON, JSV and CSV Text Serializers. Fast, Light, Resilient.
@@ -12,16 +12,22 @@
1212
<PackageTags>JSON;Text;Serializer;CSV;JSV;HTTP;Auto Mapping;Dump;Reflection;JS;Utils;Fast</PackageTags>
1313
<NoWarn>1591</NoWarn>
1414
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
16+
<DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD;NETSTANDARD2_0</DefineConstants>
17+
</PropertyGroup>
1518
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
1619
<DefineConstants>$(DefineConstants);NETCORE;NETCORE2_1</DefineConstants>
1720
</PropertyGroup>
1821
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
19-
<DefineConstants>$(DefineConstants);NETSTANDARD;NET6_0</DefineConstants>
22+
<DefineConstants>$(DefineConstants);NETCORE;NET6_0;NET6_0_OR_GREATER</DefineConstants>
2023
</PropertyGroup>
2124
<ItemGroup>
2225
<PackageReference Include="System.Memory" Version="4.5.4" />
2326
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
2427
</ItemGroup>
28+
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
29+
<Reference Include="System.Configuration" />
30+
</ItemGroup>
2531
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
2632
<PackageReference Include="System.Runtime" Version="4.3.1" />
2733
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.1" />

0 commit comments

Comments
 (0)