forked from xcp-ng/xenadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
28 lines (28 loc) · 1.6 KB
/
Copy pathDirectory.Build.props
File metadata and controls
28 lines (28 loc) · 1.6 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
25
26
27
28
<Project>
<PropertyGroup>
<!-- Multi-target libraries use net8.0 (not net8.0-windows) for Avalonia; Windows-only APIs are runtime-gated. -->
<NoWarn Condition="'$(TargetFramework)' == 'net8.0'">$(NoWarn);CA1416</NoWarn>
<!-- Allow restoring/building Windows TFMs (net8.0-windows) on non-Windows hosts (Linux CI dependency graph, Shell publish). -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<AssemblyTitle>$(Title)</AssemblyTitle>
<AssemblyDescription>$(Description)</AssemblyDescription>
<Copyright>Copyright © XCP-ng</Copyright>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Narehood/xenadmin</RepositoryUrl>
<Authors>XCP-ng</Authors>
<Product>XCP-ng Center</Product>
<!-- year.month.day.revision — UTC calendar date; BuildRevision overridable in CI (-p:BuildRevision=$(github.run_number)). -->
<BuildYear>$([System.DateTime]::UtcNow.ToString("yyyy"))</BuildYear>
<BuildMonth>$([System.DateTime]::UtcNow.Month)</BuildMonth>
<BuildDay>$([System.DateTime]::UtcNow.Day)</BuildDay>
<BuildRevision Condition="'$(BuildRevision)' == ''">0</BuildRevision>
<Version>$(BuildYear).$(BuildMonth).$(BuildDay).$(BuildRevision)</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<FileVersion>$(Version)</FileVersion>
<InformationalVersion>$(Version)</InformationalVersion>
<!-- Release/CI builds may pass -p:Codename=<Label> for Settings → About. -->
<Codename Condition="'$(Codename)' == ''">Local</Codename>
<Lab>xcpngcenter_main</Lab>
</PropertyGroup>
</Project>