Directory.build.props 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <Project>
  2. <PropertyGroup>
  3. <Copyright>Copyright (c) .NET Foundation and Contributors.</Copyright>
  4. <MinClientVersion>2.12</MinClientVersion>
  5. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  6. <Authors>.NET Foundation and Contributors</Authors>
  7. <PackageIconUrl>https://raw.githubusercontent.com/dotnet/reactive/0f837d11385cfaf575861ccc5a5fbcafb22d888f/Rx.NET/Resources/Artwork/Logo.png</PackageIconUrl>
  8. <PackageProjectUrl>https://github.com/dotnet/reactive</PackageProjectUrl>
  9. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  10. <DebugType Condition="'$(Configuration)' != 'Debug'">embedded</DebugType>
  11. <SignAssembly>true</SignAssembly>
  12. <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)ReactiveX.snk</AssemblyOriginatorKeyFile>
  13. <NoWarn>$(NoWarn);1701;1702;CS1591;NU5105</NoWarn>
  14. <DefaultLanguage>en-US</DefaultLanguage>
  15. <IncludeSymbols>false</IncludeSymbols>
  16. <IsTestProject>$(MSBuildProjectName.Contains('Tests'))</IsTestProject>
  17. <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)Rx.ruleset</CodeAnalysisRuleSet>
  18. <GeneratePackageOnBuild Condition=" '$(IsTestProject)' != 'true' and '$(CreatePackage)' == 'true' ">true</GeneratePackageOnBuild>
  19. <PackageOutputPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputPath>
  20. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  21. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  22. <LangVersion>latest</LangVersion>
  23. <!-- Get diagnostics back to the level that the .NET 5.0 SDK had for now. Fix these properly before release. -->
  24. <AnalysisLevel>5-Default</AnalysisLevel>
  25. <NoWarn>$(NoWarn);CS8600;CS8602;CS8603;CS8604;CS8632;CA1000;CA1003;CA1014;CA1019;CA1033;CA1045;CA1051;CA1052;CA1063;CA1067;CA1068;CA1507;CA1707;CA1711;CA1716;CA1720;CA1806;CA1815;CA1816;CA1822;CA1825;CA1840;CA1845;CA2016;CA2109;CA2201;CA2211;CA2213;CA2249;IDE0003;IDE0016;IDE0017;IDE0018;IDE0019;IDE0020;IDE0031;IDE0032;IDE0034;IDE0037;IDE0038;IDE0039;IDE0040;IDE0044;IDE0051;IDE0052;IDE0056;IDE0057;IDE0059;IDE0060;IDE0062;IDE0063;IDE0071;IDE0074;IDE0075;IDE0076;IDE0077;IDE0079;IDE0083;IDE0090;IDE0180;IDE0270;IDE0280;IDE1006;IDE1056</NoWarn>
  26. </PropertyGroup>
  27. <PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
  28. <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
  29. </PropertyGroup>
  30. <ItemGroup>
  31. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
  32. <PackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" PrivateAssets="all" />
  33. </ItemGroup>
  34. <ItemGroup Condition="'$(IsTestProject)' == 'true'">
  35. <PackageReference Include="coverlet.collector" Version="3.2.0" />
  36. </ItemGroup>
  37. </Project>