4 for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
7 if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
8 call "%InstallDir%\Common7\Tools\vsdevcmd.bat
26 set DLLFILENAME=ShellExtensionU.dll
29 set DLLFILENAME=ShellExtension%1.dll
31 MSBuild ShellExtension.vs2022.sln /t:Rebuild /p:Configuration="Release" /p:Platform="%PLATFORM_VS%" || pause
34 if exist "%SIGNBAT_PATH%" (
35 call "%SIGNBAT_PATH%" "..\Build\%PLATFORM%\Release\%DLLFILENAME%"
36 call "%SIGNBAT_PATH%" "..\Build\%PLATFORM%\Release\WinMergeContextMenu.dll"