Skip to content

Commit 6eb6275

Browse files
T-Grogithub-actions
authored andcommitted
Modify System.Collections.Immutable reference
Updated PackageReference for System.Collections.Immutable to exclude all assets.
1 parent d0dde7e commit 6eb6275

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@
9292
<NoWarn>$(NoWarn);NU1510</NoWarn> <!-- NU1510: Project is explicitly referencing the runtime assembly 'System.Collections.Immutable', however, if we remove it, it tries to find it on the wrong path. Also, local NoWarn does not help - This is just me trying to enforce it -->
9393
</PropertyGroup>
9494
<ItemGroup>
95-
<!-- NU1510: Project is explicitly referencing the runtime assembly 'System.Collections.Immutable', however, if we remove it, it tries to find it on the wrong path -->
96-
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" GeneratePathProperty="true" NoWarn="NU1510" />
95+
<!-- NU1510: Project is explicitly referencing the runtime assembly 'System.Collections.Immutable', however, if we remove it, it tries to find it on the wrong path .
96+
TEST IF WE CAN ELIMINATE THIS DIRECT REFERENCE
97+
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" GeneratePathProperty="true" ExcludeAssets="all" /> -->
98+
9799
<PackageReference Include="Microsoft.Net.Compilers" Version="$(MicrosoftNetCompilersVersion)" />
98100
<PackageReference Include="Microsoft.DiaSymReader.PortablePdb" Version="$(MicrosoftDiaSymReaderPortablePdbVersion)">
99101
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)