Remove unsupported SDK targets (#3193)
* yee old sdks (and CI cache too since it's pretty useless) * also bump deps * Update src/Discord.Net.Interactions/Discord.Net.Interactions.csproj Co-authored-by: d4n <dan3436@hotmail.com> * Update src/Discord.Net.Core/Discord.Net.Core.csproj Co-authored-by: d4n <dan3436@hotmail.com> * `.ForEachAsync` => `await foreach` * remove old targets from .nuspec & update docs * bump sdk in ws4net provider (probably should deprecate it tho) --------- Co-authored-by: d4n <dan3436@hotmail.com>
This commit is contained in:
@@ -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;net6.0;net5.0;net461;netstandard2.0;netstandard2.1;</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
|
||||
<WarningLevel>5</WarningLevel>
|
||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||
<IsTrimmable>false</IsTrimmable>
|
||||
@@ -16,10 +16,4 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
|
||||
<Reference Include="System.Net.Http" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$(TargetFramework.StartsWith('net4')) AND '$(MSBuildRuntimeType)' == 'Core'">
|
||||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user