Skip to content

Commit

Permalink
updated packages references
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Dec 8, 2024
1 parent cdaa2f2 commit 80a977a
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 42 deletions.
7 changes: 0 additions & 7 deletions Dependencies.props

This file was deleted.

2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Owners>Kerry Jiang</Owners>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(IsPackable) != False AND '$(OutputType)' != 'Exe'">
<Compile Include="..\..\InternalsVisibleTo.cs" />
Expand Down
28 changes: 28 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<MSExtensionsVersion>8.0.0</MSExtensionsVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="System.IO.Pipelines" Version="8.0.0" />
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="$(MSExtensionsVersion)" />
<PackageVersion Include="BenchmarkDotNet" Version="0.13.1" />
<PackageVersion Include="Autofac.Extensions.DependencyInjection" Version="6.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="xunit" Version="2.4.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion samples/CommandServer/CommandServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<ItemGroup>
<ProjectReference Include="../../src/SuperSocket.Server/SuperSocket.Server.csproj" />
<ProjectReference Include="../../src/SuperSocket.Command/SuperSocket.Command.csproj" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion samples/ConfigSample/ConfigSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../src/SuperSocket.Server/SuperSocket.Server.csproj" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
</ItemGroup>
<ItemGroup>
<Content Include="appsettings.json">
Expand Down
2 changes: 1 addition & 1 deletion samples/EchoServer/EchoServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../src/SuperSocket.Server/SuperSocket.Server.csproj" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/SuperSocket.Client/SuperSocket.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFrameworks>$(TargetFrameworks);$(MobileTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SuperSocket.Connection/SuperSocket.Connection.csproj" />
Expand Down
10 changes: 5 additions & 5 deletions src/SuperSocket.Command/SuperSocket.Command.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<Description>SuperSocket command pattern library which allow you to handle requests with commands.</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(CoreFxVersion)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Configuration" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SuperSocket.Primitives/SuperSocket.Primitives.csproj" />
Expand Down
6 changes: 3 additions & 3 deletions src/SuperSocket.Connection/SuperSocket.Connection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<TargetFrameworks>$(TargetFrameworks);$(MobileTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.IO.Pipelines" Version="$(PipelinesVersion)" />
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="System.IO.Pipelines" />
<PackageReference Include="Microsoft.Extensions.Options" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SuperSocket.ProtoBase/SuperSocket.ProtoBase.csproj" />
Expand Down
1 change: 0 additions & 1 deletion src/SuperSocket.Kestrel/SuperSocket.Kestrel.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Description>SuperSocket library allows users to take advantage of Kestrel's high performance socket pipeline.</Description>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/SuperSocket.Primitives/SuperSocket.Primitives.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Description>SuperSocket primitive interfaces and classes.</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SuperSocket.ProtoBase/SuperSocket.ProtoBase.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Description>SuperSocket library for server abstractions. It includes many interfaces and base implementation of SuperSocket server components. Users can extend server side base on this project.</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SuperSocket.Primitives/SuperSocket.Primitives.csproj" />
Expand Down
18 changes: 9 additions & 9 deletions src/SuperSocket.Server/SuperSocket.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.Extensions.Configuration" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" />
<PackageReference Include="Microsoft.Extensions.Options" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions test/SuperSocket.Benchmarks/SuperSocket.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.1" />
<PackageReference Include="System.IO.Pipelines" Version="$(PipelinesVersion)" />
<PackageReference Include="BenchmarkDotNet" />
<PackageReference Include="System.IO.Pipelines" />
<ProjectReference Include="../../src/SuperSocket.ProtoBase/SuperSocket.ProtoBase.csproj" />
<ProjectReference Include="../../src/SuperSocket.Connection/SuperSocket.Connection.csproj" />
</ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions test/SuperSocket.Tests/SuperSocket.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<ProjectReference Include="../SuperSocket.Tests.Command/SuperSocket.Tests.Command.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(MSExtensionsVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" />
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down

0 comments on commit 80a977a

Please sign in to comment.