Skip to content

Commit fe75b62

Browse files
Merge pull request #14 from ducksoop/features/12-add-multiple-fields-at-once-for-an-update
[FIX] Add Microsoft.CSharp package for dynamic support
2 parents a130f57 + 1a0a7c5 commit fe75b62

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

QuickbaseNet/QuickbaseNet.csproj

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net48</TargetFrameworks>
5-
<IsPublishable>True</IsPublishable>
6-
<InternalsVisibleTo>QuickbaseNet.UnitTests</InternalsVisibleTo>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net48</TargetFrameworks>
5+
<IsPublishable>True</IsPublishable>
6+
<InternalsVisibleTo>QuickbaseNet.UnitTests</InternalsVisibleTo>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
11+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
12+
</ItemGroup>
813

9-
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
11-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
12-
</ItemGroup>
14+
<!-- Conditionally include Microsoft.CSharp for frameworks that require it -->
15+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net48'">
16+
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
17+
</ItemGroup>
1318

1419
<PropertyGroup>
1520
<PackageId>QuickbaseNet</PackageId>
@@ -24,4 +29,4 @@
2429
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2530
</PropertyGroup>
2631

27-
</Project>
32+
</Project>

0 commit comments

Comments
 (0)