Skip to content

Commit c8e8cd2

Browse files
authored
.NET 10 (#3482)
* Initial .NET 10 bump * Use KnownIPNetworks * .NET 10 library updates * First round of trimming fixes * Fix docker in .NET 10 * Resolve trimming warning * Bump packages to rc2
1 parent 245daec commit c8e8cd2

29 files changed

+127
-118
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
env:
66
DOTNET_CLI_TELEMETRY_OPTOUT: true
77
DOTNET_NOLOGO: true
8-
DOTNET_SDK_VERSION: 9.0
8+
DOTNET_SDK_VERSION: 10.0
99

1010
permissions: {}
1111

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
CONFIGURATION: Release
77
DOTNET_CLI_TELEMETRY_OPTOUT: true
88
DOTNET_NOLOGO: true
9-
DOTNET_SDK_VERSION: 9.0
9+
DOTNET_SDK_VERSION: 10.0
1010
NODE_JS_VERSION: 'lts/*'
1111
PLUGINS_BUNDLED: ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper
1212
PLUGINS_INCLUDED: ArchiSteamFarm.OfficialPlugins.Monitoring # Apart from declaring them here, there is certain amount of hardcoding needed below for uploading

ArchiSteamFarm.CustomPlugins.ExamplePlugin/ArchiSteamFarm.CustomPlugins.ExamplePlugin.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
<ItemGroup>
77
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
8+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
89
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
910
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
1011
</ItemGroup>

ArchiSteamFarm.CustomPlugins.PeriodicGC/ArchiSteamFarm.CustomPlugins.PeriodicGC.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
<ItemGroup>
77
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
8+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
89
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
910
</ItemGroup>
1011

ArchiSteamFarm.CustomPlugins.SignInWithSteam/ArchiSteamFarm.CustomPlugins.SignInWithSteam.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<ItemGroup>
77
<PackageReference Include="AngleSharp" IncludeAssets="compile" />
88
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
9+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
910
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
1011
</ItemGroup>
1112

ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ArchiSteamFarm.OfficialPlugins.ItemsMatcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
<ItemGroup>
77
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
8+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
89
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
910
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
1011
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
11-
<PackageReference Include="System.Linq.Async" IncludeAssets="compile" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

ArchiSteamFarm.OfficialPlugins.MobileAuthenticator/ArchiSteamFarm.OfficialPlugins.MobileAuthenticator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
<ItemGroup>
77
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
8+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
89
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
910
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
1011
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />

ArchiSteamFarm.OfficialPlugins.Monitoring/ArchiSteamFarm.OfficialPlugins.Monitoring.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<ItemGroup>
88
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
9+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
910
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" />
1011
<PackageReference Include="OpenTelemetry.Extensions.Hosting" />
1112
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" />

ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
<ItemGroup>
77
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
8+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" IncludeAssets="compile" />
89
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
910
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
1011
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />

ArchiSteamFarm/ArchiSteamFarm.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<PackageReference Include="Scalar.AspNetCore" />
1919
<PackageReference Include="SteamKit2" />
2020
<PackageReference Include="System.Composition" />
21-
<PackageReference Include="System.Linq.Async" />
2221
<PackageReference Include="System.Security.Cryptography.ProtectedData" />
2322
</ItemGroup>
2423

0 commit comments

Comments
 (0)