Add net10.0 build target, update deps (#3200)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<AssemblyName>Discord.Net.Commands</AssemblyName>
|
||||
<RootNamespace>Discord.Commands</RootNamespace>
|
||||
<Description>A Discord.Net extension adding support for bot commands.</Description>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
<IsTrimmable>false</IsTrimmable>
|
||||
@@ -17,6 +17,6 @@
|
||||
<ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.9" />
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<AssemblyName>Discord.Net.Core</AssemblyName>
|
||||
<RootNamespace>Discord</RootNamespace>
|
||||
<Description>The core components for the Discord.Net library.</Description>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
<IsTrimmable>false</IsTrimmable>
|
||||
@@ -15,7 +15,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||
<PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0-rc.1.25451.107" />
|
||||
<PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0" />
|
||||
<PackageReference Include="IDisposableAnalyzers" Version="4.0.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Import Project="../../Discord.Net.targets" />
|
||||
<Import Project="../../StyleAnalyzer.targets" />
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<RootNamespace>Discord.Interactions</RootNamespace>
|
||||
<AssemblyName>Discord.Net.Interactions</AssemblyName>
|
||||
<Description>A Discord.Net extension adding support for Application Commands.</Description>
|
||||
@@ -20,7 +20,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.9" />
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<AssemblyName>Discord.Net.Rest</AssemblyName>
|
||||
<RootNamespace>Discord.Rest</RootNamespace>
|
||||
<Description>A core Discord.Net library containing the REST client and models.</Description>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
<IsTrimmable>false</IsTrimmable>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<AssemblyName>Discord.Net.WebSocket</AssemblyName>
|
||||
<RootNamespace>Discord.WebSocket</RootNamespace>
|
||||
<Description>A core Discord.Net library containing the WebSocket client and models.</Description>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<AssemblyName>Discord.Net.Webhook</AssemblyName>
|
||||
<RootNamespace>Discord.Webhook</RootNamespace>
|
||||
<Description>A core Discord.Net library containing the Webhook client and models.</Description>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<TargetFrameworks>net10.0;net9.0;net8.0;</TargetFrameworks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
<IsTrimmable>false</IsTrimmable>
|
||||
|
||||
@@ -14,6 +14,14 @@
|
||||
<icon>PackageLogo.png</icon>
|
||||
<readme>NUGET_README.md</readme>
|
||||
<dependencies>
|
||||
<group targetFramework="net10.0">
|
||||
<dependency id="Discord.Net.Core" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.Rest" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.WebSocket" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.Commands" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.Webhook" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.Interactions" version="3.18.0$suffix$" />
|
||||
</group>
|
||||
<group targetFramework="net9.0">
|
||||
<dependency id="Discord.Net.Core" version="3.18.0$suffix$" />
|
||||
<dependency id="Discord.Net.Rest" version="3.18.0$suffix$" />
|
||||
|
||||
Reference in New Issue
Block a user