Skip to content

Commit 9c64ecb

Browse files
reorganized dependencies (#7453)
1 parent 51ad038 commit 9c64ecb

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/core/Akka/Akka.csproj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,19 @@
1111
<EmbeddedResource Include="Configuration\akka.conf" />
1212
</ItemGroup>
1313

14+
<!-- Common packages for all target frameworks -->
1415
<ItemGroup>
15-
<PackageReference Include="Polyfill" Version="1.28.0" PrivateAssets="all" />
16-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MsExtVersion)" />
17-
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
18-
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
19-
<PackageReference Include="System.Collections.Immutable" Version="$(MicrosoftLibVersion)" />
20-
<PackageReference Include="System.Threading.Channels" Version="$(MicrosoftLibVersion)" />
21-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(ConfigurationManagerVersion)"/>
22-
16+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MsExtVersion)" />
17+
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
18+
<PackageReference Include="System.Collections.Immutable" Version="$(MicrosoftLibVersion)" />
19+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(ConfigurationManagerVersion)"/>
20+
</ItemGroup>
21+
22+
<!-- Packages only for NetStandard -->
23+
<ItemGroup Condition="'$(TargetFramework)' == '$(NetStandardLibVersion)'">
24+
<PackageReference Include="Polyfill" Version="1.28.0" PrivateAssets="all" />
25+
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
26+
<PackageReference Include="System.Threading.Channels" Version="$(MicrosoftLibVersion)" />
2327
</ItemGroup>
2428

2529
<ItemGroup Label="PublicAnalyzers">

0 commit comments

Comments
 (0)