| @@ -5,7 +5,7 @@ | |||||
| <AssemblyName>Discord.Net.Commands</AssemblyName> | <AssemblyName>Discord.Net.Commands</AssemblyName> | ||||
| <RootNamespace>Discord.Commands</RootNamespace> | <RootNamespace>Discord.Commands</RootNamespace> | ||||
| <Description>A Discord.Net Labs extension adding support for bot commands.</Description> | <Description>A Discord.Net Labs extension adding support for bot commands.</Description> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <PackageId>Discord.Net.Labs.Commands</PackageId> | <PackageId>Discord.Net.Labs.Commands</PackageId> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| @@ -5,7 +5,7 @@ | |||||
| <AssemblyName>Discord.Net.Core</AssemblyName> | <AssemblyName>Discord.Net.Core</AssemblyName> | ||||
| <RootNamespace>Discord</RootNamespace> | <RootNamespace>Discord</RootNamespace> | ||||
| <Description>The core components for the Discord.Net Labs library.</Description> | <Description>The core components for the Discord.Net Labs library.</Description> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <PackageId>Discord.Net.Labs.Core</PackageId> | <PackageId>Discord.Net.Labs.Core</PackageId> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| @@ -17,4 +17,7 @@ | |||||
| </PackageReference> | </PackageReference> | ||||
| <PackageReference Include="System.ValueTuple" Version="4.5.0" /> | <PackageReference Include="System.ValueTuple" Version="4.5.0" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup Condition=" '$(TargetFramework)' == 'net461' "> | |||||
| <PackageReference Include="System.ValueTuple" Version="4.4.0" /> | |||||
| </ItemGroup> | |||||
| </Project> | </Project> | ||||
| @@ -2,7 +2,7 @@ | |||||
| <Import Project="../../Discord.Net.targets" /> | <Import Project="../../Discord.Net.targets" /> | ||||
| <Import Project="../../StyleAnalyzer.targets" /> | <Import Project="../../StyleAnalyzer.targets" /> | ||||
| <PropertyGroup> | <PropertyGroup> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <RootNamespace>Discord.Interactions</RootNamespace> | <RootNamespace>Discord.Interactions</RootNamespace> | ||||
| <AssemblyName>Discord.Net.Interactions</AssemblyName> | <AssemblyName>Discord.Net.Interactions</AssemblyName> | ||||
| @@ -5,11 +5,14 @@ | |||||
| <AssemblyName>Discord.Net.Rest</AssemblyName> | <AssemblyName>Discord.Net.Rest</AssemblyName> | ||||
| <RootNamespace>Discord.Rest</RootNamespace> | <RootNamespace>Discord.Rest</RootNamespace> | ||||
| <Description>A core Discord.Net Labs library containing the REST client and models.</Description> | <Description>A core Discord.Net Labs library containing the REST client and models.</Description> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <PackageId>Discord.Net.Labs.Rest</PackageId> | <PackageId>Discord.Net.Labs.Rest</PackageId> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup Condition=" '$(TargetFramework)' == 'net461' "> | |||||
| <Reference Include="System.Net.Http" /> | |||||
| </ItemGroup> | |||||
| </Project> | </Project> | ||||
| @@ -5,7 +5,7 @@ | |||||
| <AssemblyName>Discord.Net.WebSocket</AssemblyName> | <AssemblyName>Discord.Net.WebSocket</AssemblyName> | ||||
| <RootNamespace>Discord.WebSocket</RootNamespace> | <RootNamespace>Discord.WebSocket</RootNamespace> | ||||
| <Description>A core Discord.Net Labs library containing the WebSocket client and models.</Description> | <Description>A core Discord.Net Labs library containing the WebSocket client and models.</Description> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
| <PackageId>Discord.Net.Labs.WebSocket</PackageId> | <PackageId>Discord.Net.Labs.WebSocket</PackageId> | ||||
| @@ -5,7 +5,7 @@ | |||||
| <AssemblyName>Discord.Net.Webhook</AssemblyName> | <AssemblyName>Discord.Net.Webhook</AssemblyName> | ||||
| <RootNamespace>Discord.Webhook</RootNamespace> | <RootNamespace>Discord.Webhook</RootNamespace> | ||||
| <Description>A core Discord.Net Labs library containing the Webhook client and models.</Description> | <Description>A core Discord.Net Labs library containing the Webhook client and models.</Description> | ||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net6.0;net5.0;net461</TargetFrameworks> | |||||
| <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0;net5.0</TargetFrameworks> | ||||
| <PackageId>Discord.Net.Labs.Webhook</PackageId> | <PackageId>Discord.Net.Labs.Webhook</PackageId> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| @@ -11,7 +11,7 @@ | |||||
| <ProjectReference Include="../../src/Discord.Net.Core/Discord.Net.Core.csproj" /> | <ProjectReference Include="../../src/Discord.Net.Core/Discord.Net.Core.csproj" /> | ||||
| <ProjectReference Include="../../src/Discord.Net.Rest/Discord.Net.Rest.csproj" /> | <ProjectReference Include="../../src/Discord.Net.Rest/Discord.Net.Rest.csproj" /> | ||||
| <ProjectReference Include="../../src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj" /> | <ProjectReference Include="../../src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj" /> | ||||
| <ProjectReference Include="..\..\src\Discord.Net.Analyzers\Discord.Net.Analyzers.csproj" /> | |||||
| <ProjectReference Include="../../src/Discord.Net.Analyzers/Discord.Net.Analyzers.csproj" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||