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

Commit 577a4cc

Browse files
committed
.Source csproj's
1 parent 2db31ca commit 577a4cc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/ServiceStack.OrmLite/ServiceStack.OrmLite.Core.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
<PackageTags>OrmLite;RDBMS;SQL;POCO;Code-First;ORM;Schema-less;Blobs</PackageTags>
1313
<DefineConstants>$(DefineConstants);ASYNC</DefineConstants>
1414
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
16+
<DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD2_0</DefineConstants>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
19+
<DefineConstants>$(DefineConstants);NETCORE;NET6_0</DefineConstants>
20+
</PropertyGroup>
1521

1622
<ItemGroup>
1723
<PackageReference Include="System.Memory" Version="4.5.4" />

src/ServiceStack.OrmLite/ServiceStack.OrmLite.Source.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1515
<DefineConstants>$(DefineConstants);ASYNC</DefineConstants>
1616
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
18+
<DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD2_0</DefineConstants>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
21+
<DefineConstants>$(DefineConstants);NETCORE;NET6_0</DefineConstants>
22+
</PropertyGroup>
1723

1824
<ItemGroup>
1925
<PackageReference Include="System.Memory" Version="4.5.4" />

0 commit comments

Comments
 (0)