version follow powertoys

This commit is contained in:
vanzue
2025-12-05 16:59:52 +08:00
parent 429b0e18f3
commit c77717360a
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define CmdPalExtPowerToysBuildDir="$(var.BinDir)\WinUI3Apps\CmdPalExtensions\Microsoft.CmdPal.Ext.PowerToys\"?>
<?define CmdPalExtPowerToysVersion="$(var.Version).0"?>
<?define CmdPalExtPowerToysVersion="$(var.Version)"?>
<Fragment>
<DirectoryRef Id="WinUI3AppsInstallFolder">
<Directory Id="CmdPalExtensionsInstallFolder" Name="CmdPalExtensions">

View File

@@ -3,6 +3,7 @@
<PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'x64'">
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\x64\$(Configuration)\Assets\Monaco\monacoSRC;CmdPalVersion=$(CmdPalVersion)</DefineConstants> <!-- THIS IS AN INNER LOOP OPTIMIZATION
The build pipeline builds the Settings and Launcher projects for Publication

View File

@@ -8,9 +8,9 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<PackageVersion>$(Version)</PackageVersion>
<!-- Force MSIX package version to align with the global PowerToys version -->
<AppxPackageVersion>$(Version).0</AppxPackageVersion>
<ApplicationDisplayVersion>$(Version).0</ApplicationDisplayVersion>
<!-- Keep the MSIX version in sync with the PowerToys version -->
<AppxPackageVersion>$(Version)</AppxPackageVersion>
<ApplicationDisplayVersion>$(Version)</ApplicationDisplayVersion>
<EnableMsixTooling>true</EnableMsixTooling>
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPalExtensions\$(MSBuildProjectName)\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>