Updated frameworks

This commit is contained in:
Toastie 2024-06-13 18:47:52 +12:00
parent a10e513ef2
commit 7bb263efb7
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
8 changed files with 8 additions and 40 deletions

View file

@ -5,8 +5,8 @@
<AssemblyName>Discord.Net.BuildOverrides</AssemblyName>
<RootNamespace>Discord.BuildOverrides</RootNamespace>
<Description>A Discord.Net extension adding a way to add build overrides for testing.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0;</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0</TargetFrameworks>
<IsTrimmable>false</IsTrimmable>
<IsAotCompatible>false</IsAotCompatible>
</PropertyGroup>

View file

@ -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>net6.0;net5.0;net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<WarningLevel>5</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<IsTrimmable>false</IsTrimmable>

View file

@ -5,7 +5,7 @@
<AssemblyName>Discord.Net.Core</AssemblyName>
<RootNamespace>Discord</RootNamespace>
<Description>The core components for the Discord.Net library.</Description>
<TargetFrameworks>net6.0;net5.0;net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<WarningLevel>5</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<IsTrimmable>false</IsTrimmable>

View file

@ -2,7 +2,7 @@
<Import Project="../../Discord.Net.targets" />
<Import Project="../../StyleAnalyzer.targets" />
<PropertyGroup>
<TargetFrameworks>net6.0;net5.0;net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Discord.Interactions</RootNamespace>
<AssemblyName>Discord.Net.Interactions</AssemblyName>
<Description>A Discord.Net extension adding support for Application Commands.</Description>

View file

@ -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>net6.0;net5.0;net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<WarningLevel>5</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<IsTrimmable>false</IsTrimmable>

View file

@ -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>net6.0;net5.0;net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<WarningLevel>5</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>

View file

@ -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>net6.0;net5.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<WarningLevel>5</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<IsTrimmable>false</IsTrimmable>

View file

@ -22,38 +22,6 @@
<dependency id="Discord.Net.Webhook" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.14.1$suffix$" />
</group>
<group targetFramework="net5.0">
<dependency id="Discord.Net.Core" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.14.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.14.1$suffix$" />
</group>
<group targetFramework="net461">
<dependency id="Discord.Net.Core" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.14.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.14.1$suffix$" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Discord.Net.Core" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.14.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.14.1$suffix$" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="Discord.Net.Core" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.14.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.14.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.14.1$suffix$" />
</group>
</dependencies>
</metadata>
<files>