Skip to content

Commit e637902

Browse files
authored
[PowerRename][ImageResizer] Tier1 Win11 Context menu (microsoft#19000)
* Test win11 tier1 context menu * Try to test signing * Cleanup * Cleanup project file * Sign dll Add PowerToys preffix Add assets to installer * expect.txt * Switch to named pipes Unregister package on uninstall Remove unneeded files Cleanup * Bring back check if package registered but use per-user method * Fix win11 check * expect.txt * Check if package already registered * Revert "Check if package already registered" FindPackages() method needs admin privileges. This reverts commit 5af584f. * Fix PowerRename args checking * Cleanup assets * Tier1 context menu ImageResizer Minor cleanups Move logic to package.h * [WIP] Signing and installer Expect.txt * Localized context menu title * Retarget everything 10.0.18362.0 -> 10.0.19041.0 * Address PR comments - check if selection renamable - minor cleanup - struct initialization * Fix ImageResizerLib project configuration * More Windows version updates * Remove unneeded file & try fix resource build error * Add Microsoft.PowerToys prefix to packages * Test * Fix convert-resx-to-rc.ps1 script issue causing resource files compile error Don't generate empty STRINGTABLE for resx files without data * Avoid duplicate context menu items * [BugReportTool] Report installed context menu packages
1 parent a0eacca commit e637902

File tree

148 files changed

+3162
-383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+3162
-383
lines changed

.github/actions/spell-check/expect.txt

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ buf
192192
BUFSIZE
193193
bugreport
194194
BUILDARCH
195+
BUILDNUMBER
195196
buildtask
196197
buildtransitive
197198
Burkina
@@ -466,6 +467,7 @@ dlib
466467
DLIMAGES
467468
dllexport
468469
dllhost
470+
dllimport
469471
dllmain
470472
dlls
471473
DNLEN
@@ -497,6 +499,7 @@ DVSD
497499
DVSL
498500
DVTARGETDEVICE
499501
DWINRT
502+
dwl
500503
dwm
501504
dwmapi
502505
dwmcorei
@@ -511,6 +514,7 @@ DWMWCP
511514
DWMWINDOWATTRIBUTE
512515
DWMWINDOWMAXIMIZEDCHANGE
513516
dword
517+
DWORDLONG
514518
dworigin
515519
dwrite
516520
dxgi
@@ -548,9 +552,9 @@ Eqn
548552
ERASEBKGND
549553
EREOF
550554
EResize
555+
ERole
551556
ERRORMESSAGE
552557
ERRORTITLE
553-
ERole
554558
ESettings
555559
esize
556560
esrp
@@ -722,6 +726,7 @@ HHOOK
722726
hhx
723727
Hiber
724728
Hiberboot
729+
HIBYTE
725730
HICON
726731
HIDEWINDOW
727732
highlighter
@@ -785,6 +790,7 @@ HWNDNEXT
785790
HWNDPREV
786791
IAction
787792
IActivated
793+
IActivation
788794
IAnimatable
789795
IApp
790796
IApplication
@@ -859,13 +865,15 @@ IInspectable
859865
IIO
860866
IItem
861867
IJson
862-
IKs
863868
Ijwhost
869+
IKs
864870
IList
865871
ILogon
866872
IMAGEHLP
867873
imageresizer
874+
IMAGERESIZERCONTEXTMENU
868875
IMAGERESIZEREXT
876+
imageresizerinput
869877
imageresizersettings
870878
imagingdevices
871879
IMain
@@ -1092,6 +1100,7 @@ LIBID
10921100
Lifecycle
10931101
LIGHTORANGE
10941102
LIGHTTURQUOISE
1103+
lightunplated
10951104
lindex
10961105
linkedin
10971106
linq
@@ -1107,6 +1116,7 @@ LMEM
11071116
LMENU
11081117
lnk
11091118
LOADSTRING
1119+
LOBYTE
11101120
LOCALAPPDATA
11111121
LOCALDISPLAY
11121122
LOCALPACKAGE
@@ -1168,6 +1178,7 @@ Macquarie
11681178
Magadan
11691179
Mainwindow
11701180
majortype
1181+
MAJORVERSION
11711182
makeappx
11721183
makecab
11731184
MAKEINTRESOURCE
@@ -1239,6 +1250,7 @@ MINIMIZEEND
12391250
MINIMIZESTART
12401251
miniz
12411252
minlevel
1253+
MINORVERSION
12421254
Miracast
12431255
mirophone
12441256
Mishkeegogamang
@@ -1423,6 +1435,7 @@ NTFS
14231435
NTSTATUS
14241436
nuget
14251437
nuint
1438+
nullonfailure
14261439
nullopt
14271440
nullptr
14281441
numberbox
@@ -1468,7 +1481,9 @@ oss
14681481
ostr
14691482
ostream
14701483
ostringstream
1484+
OSVERSIONINFOEX
14711485
OSVERSIONINFOEXW
1486+
osvi
14721487
otating
14731488
OUTOFCONTEXT
14741489
OUTOFMEMORY
@@ -1556,6 +1571,8 @@ powercfg
15561571
powerlauncher
15571572
powerpreview
15581573
powerrename
1574+
POWERRENAMECONTEXTMENU
1575+
powerrenameinput
15591576
POWERRENAMETEST
15601577
powertoy
15611578
powertoysinterop
@@ -1770,6 +1787,7 @@ RUNLEVEL
17701787
runsettings
17711788
runtimeclass
17721789
runtimeconfig
1790+
runtimeobject
17731791
runtimes
17741792
RUS
17751793
rvalue
@@ -1965,6 +1983,7 @@ stl
19651983
stoi
19661984
stol
19671985
stoll
1986+
storelogo
19681987
stoul
19691988
stoull
19701989
strcmp
@@ -2167,6 +2186,7 @@ unregister
21672186
unregistering
21682187
unremapped
21692188
unsubscribe
2189+
unvirtualized
21702190
Updatelayout
21712191
UPGRADINGPRODUCTCODE
21722192
upto
@@ -2215,8 +2235,8 @@ VERIFYCONTEXT
22152235
verrsrc
22162236
VERSIONINFO
22172237
Versioning
2218-
VFT
22192238
vformat
2239+
VFT
22202240
vid
22212241
VIDCAP
22222242
videoconference
@@ -2267,8 +2287,8 @@ wdp
22672287
wdupenv
22682288
weakme
22692289
webcam
2270-
webserver
22712290
webpage
2291+
webserver
22722292
website
22732293
webview
22742294
wekyb
@@ -2298,8 +2318,8 @@ WINDOWPLACEMENT
22982318
WINDOWPOSCHANGED
22992319
WINDOWPOSCHANGING
23002320
Windowsapp
2301-
windowsappsdk
23022321
windowsappruntimeinstall
2322+
windowsappsdk
23032323
WINDOWSBUILDNUMBER
23042324
Windowscodecs
23052325
windowsdesktop
@@ -2326,6 +2346,7 @@ winrt
23262346
winsdk
23272347
winsdkver
23282348
winspool
2349+
WINTHRESHOLD
23292350
winui
23302351
winxamlmanager
23312352
wistd
@@ -2369,6 +2390,7 @@ wregex
23692390
WResize
23702391
writefile
23712392
Wrk
2393+
wrl
23722394
wsf
23732395
wsh
23742396
wsl

.pipelines/ESRPSigning_core.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
"modules\\ImageResizer\\PowerToys.ImageResizer.exe",
6969
"modules\\ImageResizer\\PowerToys.ImageResizer.dll",
7070
"modules\\ImageResizer\\PowerToys.ImageResizerExt.dll",
71+
"modules\\ImageResizer\\PowerToys.ImageResizerContextMenu.dll",
72+
"modules\\ImageResizer\\ImageResizerContextMenuPackage.msix",
7173

7274
"modules\\KeyboardManager\\PowerToys.KeyboardManager.dll",
7375
"modules\\KeyboardManager\\KeyboardManagerEditor\\PowerToys.KeyboardManagerEditor.exe",
@@ -105,6 +107,8 @@
105107

106108
"modules\\PowerRename\\PowerToys.PowerRenameExt.dll",
107109
"modules\\PowerRename\\PowerToys.PowerRename.exe",
110+
"modules\\PowerRename\\PowerToys.PowerRenameContextMenu.dll",
111+
"modules\\PowerRename\\PowerRenameContextMenuPackage.msix",
108112

109113
"modules\\ShortcutGuide\\ShortcutGuide\\PowerToys.ShortcutGuide.exe",
110114
"modules\\ShortcutGuide\\ShortcutGuideModuleInterface\\PowerToys.ShortcutGuideModuleInterface.dll",

Cpp.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
<!-- Global props -->
8686
<PropertyGroup Label="Globals" Condition="'$(OverrideWindowsTargetPlatformVersion)'!='True'">
87-
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
87+
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
8888
</PropertyGroup>
8989

9090
<!-- Props that are constant for both Debug and Release configurations -->

PowerToys.sln

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "utils", "utils", "{B39DC643
279279
src\common\utils\modulesRegistry.h = src\common\utils\modulesRegistry.h
280280
src\common\utils\MsiUtils.h = src\common\utils\MsiUtils.h
281281
src\common\utils\os-detect.h = src\common\utils\os-detect.h
282+
src\common\utils\package.h = src\common\utils\package.h
282283
src\common\utils\ProcessWaiter.h = src\common\utils\ProcessWaiter.h
283284
src\common\utils\process_path.h = src\common\utils\process_path.h
284285
src\common\utils\registry.h = src\common\utils\registry.h
@@ -404,10 +405,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerToys.Settings", "src\s
404405
EndProject
405406
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PowerRenameUI", "src\modules\powerrename\PowerRenameUILib\PowerRenameUI.vcxproj", "{27718999-C175-450A-861C-89F911E16A88}"
406407
EndProject
408+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PowerRenameContextMenu", "src\modules\powerrename\PowerRenameContextMenu\PowerRenameContextMenu.vcxproj", "{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}"
409+
EndProject
407410
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.PowerToys.Run.Plugin.TimeZone.UnitTests", "src\modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.TimeZone.UnitTests\Microsoft.PowerToys.Run.Plugin.TimeZone.UnitTests.csproj", "{C5D46169-5334-48C3-8C28-644C72832E54}"
408411
EndProject
409412
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.PowerToys.Run.Plugin.OneNote", "src\modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.OneNote\Microsoft.PowerToys.Run.Plugin.OneNote.csproj", "{5A1DB2F0-0715-4B3B-98E6-79BC41540045}"
410413
EndProject
414+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageResizerContextMenu", "src\modules\imageresizer\ImageResizerContextMenu\ImageResizerContextMenu.vcxproj", "{93B72A06-C8BD-484F-A6F7-C9F280B150BF}"
415+
EndProject
416+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageResizerLib", "src\modules\imageresizer\ImageResizerLib\ImageResizerLib.vcxproj", "{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}"
417+
EndProject
411418
Global
412419
GlobalSection(SolutionConfigurationPlatforms) = preSolution
413420
Debug|ARM64 = Debug|ARM64
@@ -1565,6 +1572,18 @@ Global
15651572
{27718999-C175-450A-861C-89F911E16A88}.Release|x64.Build.0 = Release|x64
15661573
{27718999-C175-450A-861C-89F911E16A88}.Release|x86.ActiveCfg = Release|x64
15671574
{27718999-C175-450A-861C-89F911E16A88}.Release|x86.Build.0 = Release|x64
1575+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|ARM64.ActiveCfg = Debug|ARM64
1576+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|ARM64.Build.0 = Debug|ARM64
1577+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|x64.ActiveCfg = Debug|x64
1578+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|x64.Build.0 = Debug|x64
1579+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|x86.ActiveCfg = Debug|x64
1580+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Debug|x86.Build.0 = Debug|x64
1581+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|ARM64.ActiveCfg = Release|ARM64
1582+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|ARM64.Build.0 = Release|ARM64
1583+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|x64.ActiveCfg = Release|x64
1584+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|x64.Build.0 = Release|x64
1585+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|x86.ActiveCfg = Release|x64
1586+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6}.Release|x86.Build.0 = Release|x64
15681587
{C5D46169-5334-48C3-8C28-644C72832E54}.Debug|ARM64.ActiveCfg = Debug|ARM64
15691588
{C5D46169-5334-48C3-8C28-644C72832E54}.Debug|ARM64.Build.0 = Debug|ARM64
15701589
{C5D46169-5334-48C3-8C28-644C72832E54}.Debug|x64.ActiveCfg = Debug|x64
@@ -1589,6 +1608,30 @@ Global
15891608
{5A1DB2F0-0715-4B3B-98E6-79BC41540045}.Release|x64.Build.0 = Release|x64
15901609
{5A1DB2F0-0715-4B3B-98E6-79BC41540045}.Release|x86.ActiveCfg = Release|x64
15911610
{5A1DB2F0-0715-4B3B-98E6-79BC41540045}.Release|x86.Build.0 = Release|x64
1611+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|ARM64.ActiveCfg = Debug|ARM64
1612+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|ARM64.Build.0 = Debug|ARM64
1613+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|x64.ActiveCfg = Debug|x64
1614+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|x64.Build.0 = Debug|x64
1615+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|x86.ActiveCfg = Debug|x64
1616+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Debug|x86.Build.0 = Debug|x64
1617+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|ARM64.ActiveCfg = Release|ARM64
1618+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|ARM64.Build.0 = Release|ARM64
1619+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|x64.ActiveCfg = Release|x64
1620+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|x64.Build.0 = Release|x64
1621+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|x86.ActiveCfg = Release|x64
1622+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF}.Release|x86.Build.0 = Release|x64
1623+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|ARM64.ActiveCfg = Debug|ARM64
1624+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|ARM64.Build.0 = Debug|ARM64
1625+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|x64.ActiveCfg = Debug|x64
1626+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|x64.Build.0 = Debug|x64
1627+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|x86.ActiveCfg = Debug|x64
1628+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Debug|x86.Build.0 = Debug|x64
1629+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|ARM64.ActiveCfg = Release|ARM64
1630+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|ARM64.Build.0 = Release|ARM64
1631+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|x64.ActiveCfg = Release|x64
1632+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|x64.Build.0 = Release|x64
1633+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|x86.ActiveCfg = Release|x64
1634+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853}.Release|x86.Build.0 = Release|x64
15921635
EndGlobalSection
15931636
GlobalSection(SolutionProperties) = preSolution
15941637
HideSolutionNode = FALSE
@@ -1722,8 +1765,11 @@ Global
17221765
{8FE5A5EE-1B59-401C-9FB3-B04ECD3E29C1} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
17231766
{020A7474-3601-4160-A159-D7B70B77B15F} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
17241767
{27718999-C175-450A-861C-89F911E16A88} = {89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}
1768+
{1DBBB112-4BB1-444B-8EBB-E66555C76BA6} = {89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}
17251769
{C5D46169-5334-48C3-8C28-644C72832E54} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
17261770
{5A1DB2F0-0715-4B3B-98E6-79BC41540045} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
1771+
{93B72A06-C8BD-484F-A6F7-C9F280B150BF} = {6C7F47CC-2151-44A3-A546-41C70025132C}
1772+
{18B3DB45-4FFE-4D01-97D6-5223FEEE1853} = {6C7F47CC-2151-44A3-A546-41C70025132C}
17271773
EndGlobalSection
17281774
GlobalSection(ExtensibilityGlobals) = postSolution
17291775
SolutionGuid = {C3A2F9D1-7930-4EF4-A6FC-7EE0A99821D0}

doc/devdocs/modules/launcher/plugins/registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The plugin use only these interfaces (all inside the `Main.cs`):
7878

7979
| Name | Value |
8080
| --------------- | ------------------------------------------------------------------------------ |
81-
| TargetFramework | `net6.0-windows` (.NET 5) or `net6.0-windows10.0.18362.0` (OS version specific)|
81+
| TargetFramework | `net6.0-windows` (.NET 5) or `net6.0-windows10.0.19041.0` (OS version specific)|
8282
| LangVersion | `8.0` (mean C# 8.0) |
8383
| Platforms | `x64` |
8484
| Nullable | `true` |

doc/devdocs/modules/launcher/plugins/windowssettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Because the JSON file must have a object as root type, instead of a array.
141141

142142
| Name | Value |
143143
| --------------- | --------------------------------------------------------------------------------------------------- |
144-
| TargetFramework | `net6.0-windows` (.NET 5) or `net6.0-windows10.0.18362.0` (OS version specific) |
144+
| TargetFramework | `net6.0-windows` (.NET 5) or `net6.0-windows10.0.19041.0` (OS version specific) |
145145
| Platforms | `x64` |
146146
| Output | `..\..\..\..\..\x64\Debug\modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.WindowsSettings\` |
147147
| RootNamespace | `Microsoft.PowerToys.Run.Plugin.WindowsSettings` |

installer/MSIX/build_msix_cdpx.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cd /D "%~dp0"
22

3-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
3+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.19041.0
44

55
powershell -file update_appxmanifest_version.ps1 || exit /b 1
66

installer/PowerToysSetup/PowerToys.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
<Variable Name="DetectedWindowsBuildNumber" Type="version" Value="0"/>
6969
<util:RegistrySearch Id="SearchWindowsBuildNumber" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion" Value="CurrentBuildNumber" Result="value" Format="raw" Variable="DetectedWindowsBuildNumber" />
70-
<bal:Condition Message="This application is only supported on Windows 10 version 1903 (build 18362) or higher.">DetectedWindowsBuildNumber &gt;= 18362 OR WixBundleInstalled</bal:Condition>
70+
<bal:Condition Message="This application is only supported on Windows 10 version v2004 (build 19041) or higher.">DetectedWindowsBuildNumber &gt;= 19041 OR WixBundleInstalled</bal:Condition>
7171

7272
<util:RegistrySearch Variable="DetectedVCRedistVersion" Root="HKLM" Key="Software\Microsoft\VisualStudio\14.0\VC\Runtimes\$(var.PowerToysPlatform)" Value="Minor" Result="value" Format="raw" />
7373

installer/PowerToysSetup/PowerToysInstaller.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using a specific profile. If you're doing local installer builds, this will
1111
simulate the build pipeline doing that for you. -->
1212
<PreBuildEvent>IF NOT DEFINED IsPipeline (
13-
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
13+
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.19041.0
1414
SET PTRoot=..\..\..\..
1515
call "..\..\publish.cmd" x64
1616
)</PreBuildEvent>
@@ -19,7 +19,7 @@ call "..\..\publish.cmd" x64
1919
<PropertyGroup Condition="'$(Platform)' != 'x64'">
2020
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\ARM64\$(Configuration)\modules\FileExplorerPreview\monacoSRC</DefineConstants>
2121
<PreBuildEvent>IF NOT DEFINED IsPipeline (
22-
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=arm64 -host_arch=amd64 -winsdk=10.0.18362.0
22+
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=arm64 -host_arch=amd64 -winsdk=10.0.19041.0
2323
SET PTRoot=..\..\..\..
2424
call "..\..\publish.cmd" arm64
2525
)</PreBuildEvent>

0 commit comments

Comments
 (0)