diff --git a/.pipelines/versionSetting.ps1 b/.pipelines/versionSetting.ps1 index fa37bfbcd7..7221392195 100644 --- a/.pipelines/versionSetting.ps1 +++ b/.pipelines/versionSetting.ps1 @@ -67,3 +67,12 @@ $fileLocksmithContextMenuAppManifestReadFileLocation = $fileLocksmithContextMenu $fileLocksmithContextMenuAppManifest.Package.Identity.Version = $versionNumber + '.0' Write-Host "FileLocksmithContextMenu version" $fileLocksmithContextMenuAppManifest.Package.Identity.Version $fileLocksmithContextMenuAppManifest.Save($fileLocksmithContextMenuAppManifestWriteFileLocation); + +# Set NewPlusContextMenu package version in AppManifest.xml +$newPlusContextMenuAppManifestWriteFileLocation = $PSScriptRoot + '/../src/modules/NewPlus/NewShellExtensionContextMenu/AppxManifest.xml'; +$newPlusContextMenuAppManifestReadFileLocation = $newPlusContextMenuAppManifestWriteFileLocation; + +[XML]$newPlusContextMenuAppManifest = Get-Content $newPlusContextMenuAppManifestReadFileLocation +$newPlusContextMenuAppManifest.Package.Identity.Version = $versionNumber + '.0' +Write-Host "NewPlusContextMenu version" $newPlusContextMenuAppManifest.Package.Identity.Version +$newPlusContextMenuAppManifest.Save($newPlusContextMenuAppManifestWriteFileLocation);