-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
69 lines (58 loc) · 3.21 KB
/
Directory.Build.props
File metadata and controls
69 lines (58 loc) · 3.21 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<Project>
<PropertyGroup>
<!-- Assembly and Package Metadata -->
<AssemblyVersion>1.0.0</AssemblyVersion>
<Version>1.0.0-localdev</Version>
<Authors>Dave Black (https://github.com/udlose)</Authors>
<Copyright>Copyright 2025-$([System.DateTime]::Now.ToString('yyyy')) © Dave Black</Copyright>
<Company>udlose</Company>
<PackageId>MermaidPad</PackageId>
<Product>MermaidPad</Product>
<RepositoryUrl>https://github.com/udlose/MermaidPad</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Keep git SHA appended to InformationalVersion (Product version in Explorer) -->
<IncludeSourceRevisionInInformationalVersion>true</IncludeSourceRevisionInInformationalVersion>
<ApplicationManifest>app.manifest</ApplicationManifest>
<TargetFramework>net9.0</TargetFramework>
<Platforms>arm64;x64</Platforms>
<!-- Supported Runtime Identifiers for Cross-Platform Publish -->
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;osx-arm64;osx-x64</RuntimeIdentifiers>
<!-- Publishing Configuration - Framework Dependent Single File -->
<PublishSingleFile>false</PublishSingleFile>
<PublishSelfContained>false</PublishSelfContained>
<PublishTrimmed>false</PublishTrimmed>
<!--
If publishing as single-file or self-contained in the future,
set IncludeNativeLibrariesForSelfExtract to true to ensure native libraries are extracted at runtime.
-->
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<!--
Note:
Publishing and cross-platform artifact creation is handled via 'dotnet publish' using the specified RuntimeIdentifiers.
No additional publish configuration is needed in this file.
-->
<!-- Embed build target RID as compile-time constant for platform compatibility checking -->
<DefineConstants Condition="'$(RuntimeIdentifier)' != ''">
$(DefineConstants);BUILT_FOR_$(RuntimeIdentifier.Replace("-", "_").ToUpperInvariant())
</DefineConstants>
</PropertyGroup>
<!-- CI-stamped metadata (only present when the workflow passes these properties) -->
<ItemGroup Condition="'$(MermaidPadBuildDate)' != ''">
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>BuildDate</_Parameter1>
<_Parameter2>$(MermaidPadBuildDate)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup Condition="'$(MermaidPadCommitSha)' != ''">
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>CommitSha</_Parameter1>
<_Parameter2>$(MermaidPadCommitSha)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup Condition="'$(MermaidPadBuildDate)' != ''">
<!-- Explorer: Comments -->
<AssemblyAttribute Include="System.Reflection.AssemblyDescriptionAttribute">
<_Parameter1>MermaidPad - a live Mermaid diagram editor with preview and export. Built $(MermaidPadBuildDate)</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>