Directory.Build.props 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <Project>
  2. <PropertyGroup>
  3. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  4. <WarningLevel>4</WarningLevel>
  5. <LangVersion>9.0</LangVersion>
  6. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  7. <Prefer32Bit>false</Prefer32Bit>
  8. <DefaultItemExcludes>$(DefaultItemExcludes);*.DotSettings;*.ncrunchproject</DefaultItemExcludes>
  9. <DebugType>embedded</DebugType>
  10. <Deterministic>true</Deterministic>
  11. <Nullable>enable</Nullable>
  12. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  13. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  14. <ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' != ''">true</ContinuousIntegrationBuild>
  15. </PropertyGroup>
  16. <PropertyGroup>
  17. <ZebusVersion>3.13.3</ZebusVersion>
  18. <ZebusContractsVersion>3.0.0</ZebusContractsVersion>
  19. <ZebusDirectoryVersion>$(ZebusVersion)</ZebusDirectoryVersion>
  20. <ZebusPersistenceVersion>$(ZebusVersion)</ZebusPersistenceVersion>
  21. <ZebusTestingVersion>$(ZebusVersion)</ZebusTestingVersion>
  22. </PropertyGroup>
  23. <PropertyGroup>
  24. <Version>$(ZebusVersion)</Version>
  25. <Authors>ABC arbitrage</Authors>
  26. <Description>A lightweight Peer to Peer Service Bus</Description>
  27. <PackageProjectUrl>https://github.com/Abc-Arbitrage/Zebus</PackageProjectUrl>
  28. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  29. <Copyright>Copyright © ABC arbitrage $([System.DateTime]::Now.ToString('yyyy'))</Copyright>
  30. <PackageOutputPath>$(MSBuildThisFileDirectory)..\output</PackageOutputPath>
  31. <PackageReadmeFile>README.md</PackageReadmeFile>
  32. </PropertyGroup>
  33. <ItemGroup>
  34. <None Include="$(MSBuildThisFileDirectory)NuGetReadme.md" Pack="true" PackagePath="/README.md" Visible="false" />
  35. </ItemGroup>
  36. <PropertyGroup Condition="'$(NCrunch)' == '1'">
  37. <EnableSourceLink>false</EnableSourceLink>
  38. <EnableSourceControlManagerQueries>false</EnableSourceControlManagerQueries>
  39. </PropertyGroup>
  40. <ItemGroup>
  41. <PackageReference Include="JetBrains.Annotations" Version="2021.3.0" PrivateAssets="all" />
  42. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
  43. </ItemGroup>
  44. </Project>