Add project metadata and docs
build-winui / winui (push) Has been cancelled

This commit is contained in:
QWQLwToo
2026-06-26 13:26:40 +08:00
parent e43a25ce71
commit f59190251d
32 changed files with 5492 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
<Project>
<PropertyGroup Condition="Exists('$(MSBuildThisFileDirectory)version.json')">
<_YMhutVersionJson>$([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)version.json'))</_YMhutVersionJson>
<YMhutVersion>$([System.Text.RegularExpressions.Regex]::Replace('$(_YMhutVersionJson)', '(?s).*&quot;version&quot;\s*:\s*&quot;([^&quot;]+)&quot;.*', '$1'))</YMhutVersion>
<YMhutBuild>$([System.Text.RegularExpressions.Regex]::Replace('$(_YMhutVersionJson)', '(?s).*&quot;build&quot;\s*:\s*&quot;?([0-9]+)&quot;?.*', '$1'))</YMhutBuild>
<YMhutPackageVersion>$(YMhutVersion).$(YMhutBuild)</YMhutPackageVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(YMhutVersion)' != '' and '$(YMhutBuild)' != ''">
<Version>$(YMhutVersion)</Version>
<PackageVersion>$(YMhutPackageVersion)</PackageVersion>
<AssemblyVersion>$(YMhutPackageVersion)</AssemblyVersion>
<FileVersion>$(YMhutPackageVersion)</FileVersion>
<InformationalVersion>$(YMhutPackageVersion)</InformationalVersion>
</PropertyGroup>
</Project>