-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (22 loc) · 1.1 KB
/
Copy pathDirectory.Build.props
File metadata and controls
24 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup>
<!-- The target framework can be set with an environment variable of the same name -->
<TargetFramework Condition=" '$(TargetFramework)' == '' ">net10.0</TargetFramework>
<Nullable>enable</Nullable>
<!-- Versioning and assembly info -->
<!--
configure.ac is the single source of truth for the version (the CI release
job reads it from there too) - bump AC_INIT for each release, nowhere else.
-->
<_ConfigureAc>$([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)configure.ac'))</_ConfigureAc>
<AppVersion>$([System.Text.RegularExpressions.Regex]::Match($(_ConfigureAc), '(?<=AC_INIT\(\[impasto\], \[)[^]]+').Value)</AppVersion>
<Version>$(AppVersion).0</Version>
<!-- User-facing version number, used for the version command line argument -->
<InformationalVersion>$(AppVersion)f</InformationalVersion>
<Authors>zbcoding</Authors>
<Company />
<Product />
<!-- Add an absolute path to a local GirCore source directory to use it instead of the NuGet package -->
<GirCoreSource />
</PropertyGroup>
</Project>