You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Discord.Net.Rest.csproj 1.4 kB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="../../Discord.Net.targets" />
  3. <Choose>
  4. <When Condition=" '$(OS)' == 'Windows_NT' ">
  5. <PropertyGroup>
  6. <AssemblyName>Discord.Net.Rest</AssemblyName>
  7. <RootNamespace>Discord.Rest</RootNamespace>
  8. <Description>A core Discord.Net library containing the REST client and models.</Description>
  9. <TargetFrameworks>net45;netstandard1.1;netstandard1.3</TargetFrameworks>
  10. </PropertyGroup>
  11. </When>
  12. <Otherwise>
  13. <PropertyGroup>
  14. <AssemblyName>Discord.Net.Rest</AssemblyName>
  15. <RootNamespace>Discord.Rest</RootNamespace>
  16. <Description>A core Discord.Net library containing the REST client and models.</Description>
  17. <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks>
  18. </PropertyGroup>
  19. </Otherwise>
  20. </Choose>
  21. <ItemGroup>
  22. <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
  23. </ItemGroup>
  24. <Choose>
  25. <When Condition=" '$(TargetFramework)' != 'net45' ">
  26. <ItemGroup>
  27. <PackageReference Include="System.Net.Http" Version="4.3.2" />
  28. <!-- https://github.com/dotnet/corefx/issues/19535 -->
  29. </ItemGroup>
  30. </When>
  31. <Otherwise>
  32. <ItemGroup>
  33. <Reference Include="System.Net.Http" />
  34. </ItemGroup>
  35. </Otherwise>
  36. </Choose>
  37. </Project>