Skip to content

Commit f4deb2f

Browse files
committed
[Infra] Bump System.Collections.Immutable for 5.0.0 to 6.0.0
1 parent 845335b commit f4deb2f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- common tests properties -->
88
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
99
<IsPackable>False</IsPackable>
10-
<DefaultTargetFrameworks>net50;net48;net60</DefaultTargetFrameworks>
10+
<DefaultTargetFrameworks>net60;net50;net48</DefaultTargetFrameworks>
1111
</PropertyGroup>
1212

1313
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">

src/StructLinq/StructLinq.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard1.1;net452;net472;net48;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net50;net60</TargetFrameworks>
5+
<OldVersion>True</OldVersion>
6+
<OldVersion Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net452'">true</OldVersion>
57
</PropertyGroup>
68

79
<PropertyGroup Label="Nuget">
@@ -19,8 +21,10 @@
1921
<PrivateAssets>all</PrivateAssets>
2022
</PackageReference>
2123
<PackageReference Include="System.Buffers" Version="4.5.1" />
22-
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
23-
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
24+
25+
<PackageReference Condition="!'$(OldVersion)'" Include="System.Collections.Immutable" Version="6.0.0" />
26+
<PackageReference Condition="'$(OldVersion)'" Include="System.Collections.Immutable" Version="5.0.0" />
27+
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
2428
</ItemGroup>
2529

2630
<ItemGroup>

0 commit comments

Comments
 (0)