|
|
@@ -6,10 +6,14 @@ |
|
|
|
<RootNamespace>Discord</RootNamespace> |
|
|
|
<Description>The core components for the Discord.Net library.</Description> |
|
|
|
<CheckEolTargetFramework>false</CheckEolTargetFramework> |
|
|
|
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1;net5.0</TargetFrameworks> |
|
|
|
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1;net5.0</TargetFrameworks> |
|
|
|
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;net5.0</TargetFrameworks> |
|
|
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
|
|
<!-- The reference assemblies package here can allow to build for .NET Framework when not using windows as well. --> |
|
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" Condition="'$(TargetFramework)' == 'net461'"> |
|
|
|
<PrivateAssets>all</PrivateAssets> |
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
|
|
|
</PackageReference> |
|
|
|
<!-- System.ValueTuple is in .NET Framework 4.7+, older versions need the package. --> |
|
|
|
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="'$(TargetFramework)' == 'net461'" /> |
|
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> |
|
|
|