File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net462;netstandard2.0</TargetFrameworks >
4
+ <TargetFrameworks >net462;netstandard2.0;net6.0 </TargetFrameworks >
5
5
<NoWarn >$(NoWarn);CS1591</NoWarn >
6
6
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
7
7
<AssemblyTitle >RabbitMQ OAuth2 Client Library for .NET</AssemblyTitle >
59
59
<ItemGroup >
60
60
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" All" />
61
61
<PackageReference Include =" MinVer" Version =" 4.3.0" PrivateAssets =" all" />
62
+ </ItemGroup >
63
+
64
+ <ItemGroup Condition =" $(TargetFramework) == 'net462' OR $(TargetFramework) == 'netstandard2.0'" >
62
65
<PackageReference Include =" System.Net.Http.Json" Version =" 7.0.1" />
63
66
<PackageReference Include =" System.Text.Json" Version =" 7.0.2" />
64
67
</ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net462;netstandard2.0</TargetFrameworks >
4
+ <TargetFrameworks >net462;netstandard2.0;net6.0 </TargetFrameworks >
5
5
<SuppressTfmSupportBuildWarnings >true</SuppressTfmSupportBuildWarnings >
6
6
<NoWarn >$(NoWarn);CS1591</NoWarn >
7
7
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
62
62
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" All" />
63
63
64
64
<PackageReference Include =" MinVer" Version =" 4.3.0" PrivateAssets =" All" />
65
- <PackageReference Include =" System.Threading.Channels" Version =" 7.0.0" />
66
65
</ItemGroup >
67
66
68
- <ItemGroup Condition =" '$(TargetFrameworkIdentifier)' != '.NETCoreApp'" >
67
+ <ItemGroup Condition =" $(TargetFramework) == 'net462' OR $(TargetFramework) == 'netstandard2.0'" >
68
+ <PackageReference Include =" System.Threading.Channels" Version =" 7.0.0" />
69
69
<PackageReference Include =" System.Memory" Version =" 4.5.5" />
70
70
</ItemGroup >
71
71
You can’t perform that action at this time.
0 commit comments