Directory.Build.props (32 lines of code) (raw):

<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Authors>Elastic and contributors</Authors> <Copyright>Elasticsearch BV</Copyright> <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> <RepositoryUrl>https://github.com/elastic/elastic-otel-dotnet</RepositoryUrl> <PackageProjectUrl>https://github.com/elastic/elastic-otel-dotnet</PackageProjectUrl> <PackageReleaseNotes>https://github.com/elastic/elastic-otel-dotnet/releases</PackageReleaseNotes> </PropertyGroup> <PropertyGroup> <IsPackable>False</IsPackable> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> <MinVerDefaultPreReleaseIdentifiers>canary.0</MinVerDefaultPreReleaseIdentifiers> <MinVerMinimumMajorMinor>0.1</MinVerMinimumMajorMinor> <LangVersion>latest</LangVersion> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <UseArtifactsOutput>true</UseArtifactsOutput> <SolutionRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.sh))</SolutionRoot> <ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> </PropertyGroup> <ItemGroup> <Using Include="System.Threading.CancellationToken" Alias="Cancel" /> </ItemGroup> <!-- MinVer Configuration --> <PropertyGroup> <MinVerDefaultPreReleaseIdentifiers>canary.0</MinVerDefaultPreReleaseIdentifiers> <MinVerMinimumMajorMinor>0.1</MinVerMinimumMajorMinor> </PropertyGroup> </Project>