Viewing is open to everyone. Downloading and starring need a GitHub sign-in. Sign in with GitHub

Directory.Build.props

v0.1.0-build.85 Latest Commit ede38f5

Size
2.0 KB
Lines
34
Language
xml
SHA-256
98282ee1d49d…
View on GitHub

Sign in with GitHub to download. Each download is recorded with your GitHub username.

1<Project>
2 <!-- Shared settings for every project under sdk/dotnet. The version is the
3 repository's VERSION file (e.g. 0.1.0-build.63), so the package, the
4 assembly metadata and the telemetry sdk_version always agree. -->
5 <PropertyGroup>
6 <CKeyRepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../../'))</CKeyRepoRoot>
7 <CKeyVersion>$([System.IO.File]::ReadAllText('$(CKeyRepoRoot)VERSION').Trim())</CKeyVersion>
8 <CKeyVersionPrefix>$([System.Text.RegularExpressions.Regex]::Match('$(CKeyVersion)', '^[0-9]+\.[0-9]+\.[0-9]+').Value)</CKeyVersionPrefix>
9 <CKeyBuildNumber>$([System.Text.RegularExpressions.Regex]::Match('$(CKeyVersion)', '[0-9]+$').Value)</CKeyBuildNumber>
10 <Version>$(CKeyVersion)</Version>
11 <PackageVersion>$(CKeyVersion)</PackageVersion>
12 <AssemblyVersion>$(CKeyVersionPrefix).0</AssemblyVersion>
13 <FileVersion>$(CKeyVersionPrefix).$(CKeyBuildNumber)</FileVersion>
14 <InformationalVersion>$(CKeyVersion)</InformationalVersion>
15 <IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
16
17 <LangVersion>12</LangVersion>
18 <Nullable>enable</Nullable>
19 <Deterministic>true</Deterministic>
20 <ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
21
22 <Authors>CKey contributors</Authors>
23 <Company>openckey.org</Company>
24 <Copyright>Copyright (c) CKey contributors</Copyright>
25 <PackageLicenseExpression>MIT</PackageLicenseExpression>
26 <PackageProjectUrl>https://github.com/clearkeysolutions/ckey</PackageProjectUrl>
27 <RepositoryUrl>https://github.com/clearkeysolutions/ckey</RepositoryUrl>
28 <RepositoryType>git</RepositoryType>
29 <PackageTags>ckey;2d-code;barcode;qr;scanner;optical-code</PackageTags>
30
31 <!-- Native libraries built by sdk/dotnet/native land here as <rid>/<file>. -->
32 <CKeyNativeRoot>$(MSBuildThisFileDirectory)artifacts/native/</CKeyNativeRoot>
33 </PropertyGroup>
34</Project>