File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
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 >
8
13
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 >
13
18
14
19
<PropertyGroup >
15
20
<PackageId >QuickbaseNet</PackageId >
24
29
<PackageLicenseExpression >MIT</PackageLicenseExpression >
25
30
</PropertyGroup >
26
31
27
- </Project >
32
+ </Project >
You can’t perform that action at this time.
0 commit comments