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.targets 1.9 kB

8 years ago
12345678910111213141516171819202122232425262728293031
  1. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  2. <PropertyGroup>
  3. <VersionPrefix>2.0.0</VersionPrefix>
  4. <VersionSuffix>beta2</VersionSuffix>
  5. <Authors>RogueException</Authors>
  6. <PackageTags>discord;discordapp</PackageTags>
  7. <PackageProjectUrl>https://github.com/RogueException/Discord.Net</PackageProjectUrl>
  8. <PackageLicenseUrl>http://opensource.org/licenses/MIT</PackageLicenseUrl>
  9. <RepositoryType>git</RepositoryType>
  10. <RepositoryUrl>git://github.com/RogueException/Discord.Net</RepositoryUrl>
  11. </PropertyGroup>
  12. <PropertyGroup Condition=" '$(BuildNumber)' == '' ">
  13. <VersionSuffix Condition=" '$(VersionSuffix)' != ''">$(VersionSuffix)-dev</VersionSuffix>
  14. <VersionSuffix Condition=" '$(VersionSuffix)' == ''">dev</VersionSuffix>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(BuildNumber)' != '' And $(IsTagBuild) != 'true' ">
  17. <VersionSuffix Condition=" '$(VersionSuffix)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
  18. <VersionSuffix Condition=" '$(VersionSuffix)' == '' ">build-$(BuildNumber)</VersionSuffix>
  19. </PropertyGroup>
  20. <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'net45' ">
  21. <DefineConstants>$(DefineConstants);FILESYSTEM;DEFAULTUDPCLIENT;DEFAULTWEBSOCKET</DefineConstants>
  22. </PropertyGroup>
  23. <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
  24. <DefineConstants>$(DefineConstants);FORMATSTR;UNIXTIME;MSTRYBUFFER;UDPDISPOSE</DefineConstants>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  27. <NoWarn>$(NoWarn);CS1573;CS1591</NoWarn>
  28. <WarningsAsErrors>true</WarningsAsErrors>
  29. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  30. </PropertyGroup>
  31. </Project>