From 8e264d37a114d8785eacf326825f3db21e563d13 Mon Sep 17 00:00:00 2001 From: Kai Tao <69313318+vanzue@users.noreply.github.com> Date: Fri, 13 Feb 2026 22:26:37 +0800 Subject: [PATCH 1/4] CI: Sign new dll to get ci passed (#45582) ## Summary of the Pull Request image Release pipeline fail to check the dll signature, forgot to sign it. ## PR Checklist - [ ] Closes: #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed Should pass release pipeline --- .pipelines/ESRPSigning_core.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.pipelines/ESRPSigning_core.json b/.pipelines/ESRPSigning_core.json index 6c51889d77..40a6d8c196 100644 --- a/.pipelines/ESRPSigning_core.json +++ b/.pipelines/ESRPSigning_core.json @@ -18,6 +18,7 @@ "StylesReportTool\\PowerToys.StylesReportTool.exe", "CalculatorEngineCommon.dll", + "PowerToys.Common.UI.Controls.dll", "PowerToys.ManagedTelemetry.dll", "PowerToys.ManagedCommon.dll", "PowerToys.ManagedCsWin32.dll", From a403323530bf6f83daf660c1b987212f3c9002e2 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 14 Feb 2026 08:47:56 +0100 Subject: [PATCH 2/4] Migrate to MTP (#37651) Duplicating https://github.com/microsoft/PowerToys/pull/37001, but opening from upstream instead of fork as CI doesn't play nicely with PRs from forks (https://github.com/microsoft/PowerToys/pull/37617 is improving that) --------- Co-authored-by: Clint Rutkas Co-authored-by: vanzue --- .github/actions/spell-check/excludes.txt | 2 + .github/actions/spell-check/expect.txt | 941 +++++++++--------- .pipelines/v2/templates/job-test-project.yml | 50 +- .../verifyNoticeMdAgainstNugetPackages.ps1 | 3 +- Directory.Build.props | 31 +- Directory.Packages.props | 4 +- NOTICE.md | 3 +- nuget.config | 2 +- src/Common.Dotnet.FuzzTest.props | 9 + .../UITestAutomation/Element/Element.cs | 1 - .../UITestAutomation/UITestAutomation.csproj | 3 +- .../Common.Interop.UnitTests.csproj | 2 +- .../PowerToys.DSC.UnitTests.csproj | 4 + src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj | 3 +- .../AdvancedPaste.FuzzTests.csproj | 6 + .../AdvancedPaste.UnitTests.csproj | 5 +- .../HostsEditor.FuzzTests.csproj | 5 + .../Hosts.Tests/HostsEditor.UnitTests.csproj | 1 + .../MouseJump.Common.UnitTests.csproj | 2 +- .../MouseWithoutBorders.UnitTests.csproj | 8 +- .../Workspaces.Editor.UITests.csproj | 5 +- .../Microsoft.CmdPal.Ext.UnitTestBase.csproj | 4 +- ...t.CmdPal.Ext.WindowWalker.UnitTests.csproj | 2 + .../ColorPickerUI.UnitTests.csproj | 5 +- .../FancyZones.UITests.csproj | 13 +- .../FancyZonesEditor.UITests.csproj | 13 +- .../FancyZonesEditor.UnitTests.csproj | 5 +- .../tests/ImageResizer.UnitTests.csproj | 119 +-- ...s.Run.Plugin.UnitConverter.UnitTest.csproj | 1 + ...Run.Plugin.ValueGenerator.UnitTests.csproj | 1 + .../Microsoft.Plugin.Folder.UnitTests.csproj | 1 + .../Microsoft.Plugin.Program.UnitTests.csproj | 2 +- .../Microsoft.Plugin.Uri.UnitTests.csproj | 1 + ...osoft.Plugin.WindowWalker.UnitTests.csproj | 1 + ...Toys.Run.Plugin.Calculator.UnitTest.csproj | 1 + ...rToys.Run.Plugin.Registry.UnitTests.csproj | 1 + ...werToys.Run.Plugin.System.UnitTests.csproj | 1 + ...rToys.Run.Plugin.TimeDate.UnitTests.csproj | 1 + ...ft.Plugin.WindowsTerminal.UnitTests.csproj | 1 + src/modules/launcher/Wox.Test/Wox.Test.csproj | 5 +- ...view.BgcodePreviewHandler.UnitTests.csproj | 4 + ...w.BgcodeThumbnailProvider.UnitTests.csproj | 4 + ...eview.GcodePreviewHandler.UnitTests.csproj | 4 + ...ew.GcodeThumbnailProvider.UnitTests.csproj | 4 + ...ew.MarkdownPreviewHandler.UnitTests.csproj | 4 + ...Preview.PdfPreviewHandler.UnitTests.csproj | 4 + ...view.PdfThumbnailProvider.UnitTests.csproj | 4 + ...view.PreviewHandlerCommon.UnitTests.csproj | 1 + ...Preview.QoiPreviewHandler.UnitTests.csproj | 4 + ...view.QoiThumbnailProvider.UnitTests.csproj | 4 + ...view.StlThumbnailProvider.UnitTests.csproj | 4 + ...Preview.SvgPreviewHandler.UnitTests.csproj | 4 + ...view.SvgThumbnailProvider.UnitTests.csproj | 6 +- .../Settings.UI.UnitTests.csproj | 5 + .../ViewModelTests/General.cs | 67 +- 55 files changed, 766 insertions(+), 625 deletions(-) diff --git a/.github/actions/spell-check/excludes.txt b/.github/actions/spell-check/excludes.txt index b029f1dbcb..d2057bcda2 100644 --- a/.github/actions/spell-check/excludes.txt +++ b/.github/actions/spell-check/excludes.txt @@ -143,3 +143,5 @@ ignore$ ^src/modules/registrypreview/RegistryPreviewUILib/Controls/HexBox/.*$ ^src/common/CalculatorEngineCommon/exprtk\.hpp$ src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleMarkdownImagesPage.cs +^src/modules/powerrename/unittests/testdata/avif_test\.avif$ +^src/modules/powerrename/unittests/testdata/heif_test\.heic$ diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 02622eb731..985ef2fc31 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -1,42 +1,29 @@ -AAAAs abcdefghjkmnpqrstuvxyz abgr ABlocked -ABORTIFHUNG ABOUTBOX Abug Acceleratorkeys ACCEPTFILES ACCESSDENIED ACCESSTOKEN -acfs -ACIE -ACR AClient AColumn acrt ACTIVATEAPP -ACTIVATEOPTIONS activationaction adaptivecards -ADate ADDSTRING ADDUNDORECORD ADifferent -ADMINS adml admx -advancedpaste -advapi advfirewall AFeature affordances AFX -agentskills AGGREGATABLE -AHK AHybrid -AIUI akv ALarger ALIGNRIGHT @@ -44,8 +31,6 @@ ALLAPPS ALLCHILDREN ALLINPUT Allman -Allmodule -ALLNOISE ALLOWUNDO ALLVIEW ALPHATYPE @@ -57,33 +42,24 @@ Animnate ANull AOC aocfnapldcnfbofgmbbllojgocaelgdd -AOklab -aot APeriod apicontract apidl APIENTRY APIIs Apm -APMPOWERSTATUSCHANGE -APMRESUMEAUTOMATIC -APMRESUMESUSPEND APPBARDATA APPEXECLINK -appext APPLICATIONFRAMEHOST appmanifest APPMODEL APPNAME appref appsettings -appsfeatures appwindow appwiz -appxpackage APSTUDIO AQS -Aquadrant ARandom ARCHITEW ARemapped @@ -91,12 +67,9 @@ ARPINSTALLLOCATION ARPPRODUCTICON ARRAYSIZE ARROWKEYS -ARTIFACTSTAGINGDIRECTORY asf -Ashcraft AShortcut ASingle -ASUS ASSOCCHANGED ASSOCF ASSOCSTR @@ -105,8 +78,6 @@ ASYNCWINDOWPOS atl ATRIOX aumid -authenticode -AUO AUTOBUDDY AUTOCHECKBOX AUTOHIDE @@ -120,56 +91,36 @@ AValid AWAYMODE azcliversion azman -azureaiinference -azureinference -azureopenai -backticks -Backlight -Badflags -Badmode -Badparam bbwe -BCIE bck BESTEFFORT bezelled bhid BIF bigbar -BIGGERSIZEOK bigobj binlog binres -binskim BITMAPFILEHEADER bitmapimage BITMAPINFO BITMAPINFOHEADER -Bitmaps BITSPERPEL BITSPIXEL bla -BLACKFRAME BLENDFUNCTION -blittable Blockquotes -blt -bluelightreduction -bluelightreductionstate BLURBEHIND BLURREGION bmi BNumber BODGY -BOklab BOOTSTRAPPERINSTALLFOLDER -Bootstrappers BOTTOMALIGN boxmodel BPBF bpmf bpp -breadcrumb Browsable BROWSEINFO bsd @@ -181,11 +132,9 @@ BUILDARCH BUILDNUMBER buildtransitive builttoroam -BUNDLEINFO BVal BValue byapp -BYCOMMAND BYPOSITION CALCRECT CALG @@ -193,64 +142,44 @@ callbackptr calpwstr Cangjie CANRENAME -Canvascustomlayout CAPTUREBLT CAPTURECHANGED CARETBLINKING -carlos -Carlseibert CAtl -caub -CBN -Cds cch CCHDEVICENAME CCHFORMNAME CCom CContext CDeclaration -CDPX CElems CENTERALIGN -cer certlm certmgr cfp CHANGECBCHAIN changecursor -chatasweetie -checkmarks CHILDACTIVATE CHILDWINDOW CHOOSEFONT -Chunghwa -CIBUILD cidl -CIELCh cim CImage cla CLASSDC -classguid -classmethod CLASSNOTAVAILABLE -claude -CLEARTYPE clickable clickonce -clientedge -clientid clientside CLIPBOARDUPDATE CLIPCHILDREN CLIPSIBLINGS closesocket -clp CLSCTX -clsids +CLSIDs +Clsids Clusion cmder -CMN CMDNOTFOUNDMODULEINTERFACE cmdpal CMIC @@ -261,11 +190,8 @@ CMONITORS cmph CNF coclass -CODENAME codereview Codespaces -Coen -cognitiveservices COINIT colid colorconv @@ -273,65 +199,45 @@ colorformat colorhistory colorhistorylimit COLORKEY -colorref comctl comdlg comexp cominterop -commandnotfound commandpalette compmgmt -COMPOSITIONDISABLED COMPOSITIONFULL CONFIGW CONFLICTINGMODIFIERKEY CONFLICTINGMODIFIERSHORTCUT CONOUT -constexpr -contentdialog contentfiles CONTEXTHELP CONTEXTMENUHANDLER contractversion CONTROLPARENT -Convs copiedcolorrepresentation -coppied -copyable COPYPEN -coreclr COREWINDOW -Corpor cotaskmem COULDNOT countof -Cowait -covrun cpcontrols cph cplusplus CPower -cpptools -cppvsdbg cppwinrt createdump CREATEPROCESS CREATESCHEDULEDTASK CREATESTRUCT CREATEWINDOWFAILED -creativecommons CRECT CRH critsec -cropandlock -crt -CROPTOSQUARE Crossdevice -csdevkit CSearch CSettings cso -CSOT CSRW CStyle cswin @@ -341,59 +247,43 @@ CTLCOLORSTATIC CURRENTDIR CURSORINFO cursorpos -CURSORSHOWING -cursorwrap customaction CUSTOMACTIONTEST -CUSTOMFORMATPLACEHOLDER CVal cvd CVirtual -CWMO CXSCREEN CXSMICON CXVIRTUALSCREEN CYSCREEN CYSMICON CYVIRTUALSCREEN -Czechia Dac dacl -DAffine -DAFFINETRANSFORM datareader datatracker -dataversion Dayof -dbcc DBID DBLCLKS DBLEPSILON DBPROP DBPROPIDSET DBPROPSET -DBT DCBA -DCapabilities DCOM DComposition DCR -ddc DDEIf Deact -debouncer debugbreak decryptor Dedup -Deduplicator DEFAULTBOOTSTRAPPERINSTALLFOLDER DEFAULTCOLOR DEFAULTFLAGS DEFAULTICON defaultlib DEFAULTONLY -DEFAULTSIZE -defaulttonearest DEFAULTTONULL DEFAULTTOPRIMARY DEFERERASE @@ -410,40 +300,24 @@ DESELECTOTHERS DESIGNINFO DESKTOPABSOLUTEEDITING DESKTOPABSOLUTEPARSING -DESKTOPHORZRES desktopshorcutinstalled -DESKTOPVERTRES devblogs devdocs -devenv -DEVICEINTERFACE -devicetype -DEVINTERFACE devmgmt DEVMODE DEVMODEW -DEVNODES devpal -DEVTYP -dfx DIALOGEX -diffs -digicert -DINORMAL DISABLEASACTIONKEY DISABLENOSCROLL diskmgmt DISPLAYCHANGE -displayconfig DISPLAYFLAGS DISPLAYFREQUENCY displayname DISPLAYORIENTATION -diu divyan -Dlg DLGFRAME -dlgmodalframe dlib dllhost dllmain @@ -452,12 +326,8 @@ DNLEN DONOTROUND DONTVALIDATEPATH dotnet -downsampled -downsampling -downscale DPICHANGED DPIs -DPMS DPSAPI DQTAT DQTYPE @@ -468,17 +338,12 @@ dreamsofameaningfullife drivedetectionwarning DROPFILES DSTINVERT -DString -DSVG -dto DUMMYUNIONNAME -dutil DVASPECT DVASPECTINFO DVD dvr DVTARGETDEVICE -dwflags dwl dwm dwmapi @@ -495,21 +360,13 @@ DWMWINDOWMAXIMIZEDCHANGE DWORDLONG dworigin dwrite -Dxva dxgi -eab -EAccess easeofaccess ecount -edid EDITKEYBOARD EDITSHORTCUTS EDITTEXT EFile -EInvalid -eep -eku -emojis ENABLEDELAYEDEXPANSION ENABLEDPOPUP ENABLETAB @@ -517,15 +374,11 @@ ENABLETEMPLATE encodedlaunch encryptor ENDSESSION -ENot ENSUREVISIBLE ENTERSIZEMOVE -ENTRYW ENU -environmentvariables EPO epu -EProvider ERASEBKGND EREOF EResize @@ -533,7 +386,6 @@ ERRORIMAGE ERRORTITLE ESettings esrp -etd ETDT etl etw @@ -551,18 +403,13 @@ examplehandler examplepowertoy EXAND EXCLUDEFROMCAPTURE -EXECUTEDEFAULT executionpolicy exename -exf EXITSIZEMOVE exlist EXPCMDFLAGS EXPCMDSTATE explr -exppowertoys -exprtk -exptas exsb exstyle EXTENDEDKEY @@ -574,19 +421,9 @@ eyetracker FANCYZONESDRAWLAYOUTTEST FANCYZONESEDITOR FARPROC -fdw -fdx -FErase -fesf -FFFF -FFh -Figma FILEEXPLORER -fileexploreraddons -fileexplorerpreview FILEFLAGS FILEFLAGSMASK -filelocksmith FILELOCKSMITHCONTEXTMENU FILELOCKSMITHEXT FILELOCKSMITHLIBINTEROP @@ -600,17 +437,15 @@ FILESYSPATH Filetime FILEVERSION FILTERMODE -FInc findfast -findmymouse FIXEDFILEINFO FIXEDSYS flac flyouts FMask fmtid -FNumber FOF +WANTNUKEWARNING FOFX FOLDERID folderpath @@ -620,29 +455,19 @@ FORCEMINIMIZE FORMATDLGORD formatetc FORPARSING -foundrylocal -FRAMECHANGED -Framechanged -FRestore frm FROMTOUCH -fsanitize fsmgmt -ftps -fuzzingtesting -fxf FZE gacutil Gaeilge Gaidhlig -gameid GC'ed GCLP gdi gdiplus GDIPVER GDISCALED -geolocator GETCLIENTAREAANIMATION GETCURSEL GETDESKWALLPAPER @@ -651,7 +476,6 @@ GETDPISCALEDSIZE getfilesiginforedist GETHOTKEY GETICON -GETLBTEXT GETMINMAXINFO GETNONCLIENTMETRICS GETPROPERTYSTOREFLAGS @@ -659,22 +483,15 @@ GETSCREENSAVERRUNNING GETSECKEY GETSTICKYKEYS GETTEXTLENGTH -gfx GHND -gitmodules GMEM GNumber -googleai -googlegemini -Gotchas gpedit gpo GPOCA gpp gpu gradians -grctlext -Gridcustomlayout GSM gtm guiddata @@ -684,8 +501,6 @@ gwl GWLP GWLSTYLE hangeul -Hann -Hantai Hanzi Hardlines hardlinks @@ -707,24 +522,19 @@ HCRYPTPROV hcursor hcwhite hdc -HDEVNOTIFY hdr hdrop hdwwiz Helpline helptext -hgdiobj HGFE hglobal hhk -HHmmssfff hhx Hiber Hiberboot HIBYTE hicon -HICONSM -HIDEREADONLY HIDEWINDOW Hif HIMAGELIST @@ -739,32 +549,24 @@ HKCU hkey HKLM HKM -hkmng HKPD HKU HMD hmenu -HMON hmodule hmonitor homies homljgmgpmcbpjbnjpfijnhipfkiclkd -HOOKPROC HORZRES HORZSIZE Hostbackdropbrush -hostsfileeditor -Hostx -hotfixes hotkeycontrol HOTKEYF hotkeys hotlight hotspot HPAINTBUFFER -HPhysical HRAWINPUT -hredraw hres hresult hrgn @@ -772,18 +574,14 @@ HROW hsb HSCROLL hsi -HSpeed -HSync HTCLIENT hthumbnail HTOUCHINPUT HTTRANSPARENT -hutchinsoniana HVal HValue Hvci hwb -HWP HWHEEL HWINEVENTHOOK hwnd @@ -797,28 +595,23 @@ IAI icf ICONERROR ICONLOCATION -ICONONLY IDCANCEL IDD idk idl idlist IDOK -IDOn IDR IDXGI ietf IEXPLORE IFACEMETHOD IFACEMETHODIMP -ifd IGNOREUNKNOWN IGo iid -IIM Iindex Ijwhost -ILD IMAGEHLP IMAGERESIZERCONTEXTMENU IMAGERESIZEREXT @@ -827,7 +620,6 @@ imageresizersettings imagingdevices ime imgflip -inapp inbox INCONTACT Indo @@ -839,9 +631,6 @@ INITDIALOG INITGUID INITTOLOGFONTSTRUCT INLINEPREFIX -inlines -Inno -Innolux INPC inproc INPUTHARDWARE @@ -851,7 +640,6 @@ INPUTMOUSE INPUTSINK INPUTTYPE INSTALLDESKTOPSHORTCUT -installdir INSTALLFOLDER INSTALLFOLDERTOBOOTSTRAPPERINSTALLFOLDER INSTALLFOLDERTOPREVIOUSINSTALLFOLDER @@ -862,42 +650,29 @@ INSTALLSTARTMENUSHORTCUT INSTALLSTATE Inste Interlop -intput INTRESOURCE INVALIDARG invalidoperatioexception -invokecommand ipcmanager IPREVIEW -ipreviewhandlervisualssetfont -IPTC -irow irprops isbi -isfinite iss issecret ISSEPARATOR -issuecomment -istep ith ITHUMBNAIL IUI -IVO -IUWP IWIC -jeli jfif jgeosdfsdsgmkedfgdfgdfgbkmhcgcflmi jjw jobject -JOBOBJECT jpe jpnime Jsons jsonval jxr -Kantai keybd KEYBDDATA KEYBDINPUT @@ -908,46 +683,29 @@ KEYBOARDMANAGEREDITORLIBRARYWRAPPER keyboardmanagerstate keyboardmanagerui keyboardtester -keycap KEYEVENTF KEYIMAGE keynum keyremaps -keyring keyvault KILLFOCUS killrunner kmph -kvp -KVM Kybd -LARGEICON lastcodeanalysissucceeded LASTEXITCODE LAYOUTRTL -lbl -Lbuttondown -LCh -lcid LCIDTo -lcl Lclean Ldone Ldr -LEFTALIGN -leftclick LEFTSCROLLBAR LEFTTEXT LError LEVELID LExit -Lenovo -LGD -LFU lhwnd -LIBFUZZER LIBID -lightswitch LIMITSIZE LIMITTEXT lindex @@ -955,35 +713,25 @@ linkid LINKOVERLAY LINQTo listview -LIVEDRAW -livezoom LLKH llkhf LMEM LMENU -lng LOADFROMFILE LOBYTE localappdata localpackage LOCALSYSTEM LOCATIONCHANGE -LOCKTYPE -LOGFONT LOGFONTW -LOGMSG logon LOGPIXELSX LOGPIXELSY -lon longdate -LONGNAMES lowlevel LOWORD lparam LPBITMAPINFOHEADER -LPCFHOOKPROC -lpch LPCITEMIDLIST LPCLSID lpcmi @@ -1001,7 +749,6 @@ LPMONITORINFO LPOSVERSIONINFOEXW LPQUERY lprc -LPrivate LPSAFEARRAY lpstr lpsz @@ -1014,7 +761,6 @@ lpv LPW lpwcx lpwndpl -lquadrant LReader LRESULT LSTATUS @@ -1032,59 +778,43 @@ LWA lwin LZero MAGTRANSFORM -makeappx MAKEINTRESOURCE MAKEINTRESOURCEA MAKEINTRESOURCEW MAKELANGID MAKELONG MAKELPARAM -makepri MAKEWPARAM -Malware manifestdependency MAPPEDTOSAMEKEY MAPTOSAMESHORTCUT MAPVK MARKDOWNPREVIEWHANDLERCPP -MAXIMIZEBOX -Maximizebox MAXSHORTCUTSIZE maxversiontested -mber MBM MBR -Mbuttondown -mcp MDICHILD MDL mdtext mdtxt mdwn -mccs meme memicmp MENUITEMINFO MENUITEMINFOW MERGECOPY MERGEPAINT -Metacharacter -metadatamatters Metadatas metafile metapackage mfc Mgmt Microwaved -middleclickaction midl mii -MIIM -mikeclayton mindaro Minimizable -MINIMIZEBOX -Minimizebox MINIMIZEEND MINIMIZESTART MINMAXINFO @@ -1101,7 +831,6 @@ mmsys mobileredirect mockapi MODALFRAME -modelcontextprotocol MODESPRUNED MONITORENUMPROC MONITORINFO @@ -1111,61 +840,40 @@ monitorinfof MOUSEACTIVATE MOUSEDATA MOUSEEVENTF -mousehighlighter MOUSEHWHEEL MOUSEINPUT -mousejump -mousepointer -mouseutils MOVESIZEEND MOVESIZESTART MRM -Mrt -mrt mru -MSAL msc mscorlib msctls msdata -msdia MSDL MSGFLT MSHCTX MSHLFLAGS -MSIDXS -MSIDXSPROP msiexec MSIFASTINSTALL MSIHANDLE MSIRESTARTMANAGERCONTROL -MSIs msixbundle MSIXCA MSLLHOOKSTRUCT Mso msrc msstore -mstsc -mswhql msvcp -MT MTND MULTIPLEUSE multizone muxc -muxx -muxxc -muxxh -MVPs mvvm MVVMTK MWBEx MYICON -myorg -myrepo NAMECHANGE -Nanjing namespaceanddescendants nao NCACTIVATE @@ -1195,7 +903,6 @@ netsh newcolor NEWDIALOGSTYLE NEWFILE -NEWFILEHEADER newitem newpath newplus @@ -1204,7 +911,6 @@ NEWPLUSSHELLEXTENSIONWIN newrow nicksnettravels NIF -nightlight NLog NLSTEXT NMAKE @@ -1222,19 +928,15 @@ NOCOPYBITS NOCOPYSECURITYATTRIBS NOCRLF nodeca -nodiscard NODRAWCAPTION NODRAWICON NOINHERITLAYOUT NOINTERFACE NOINVERT NOLINKINFO -nologo NOMCX NOMINMAX NOMIRRORBITMAP -NOMOVE -Nomove NONANTIALIASED nonclient NONCLIENTMETRICSW @@ -1255,36 +957,26 @@ NORMALDISPLAY NORMALUSER NOSEARCH NOSENDCHANGING -NOSIZE -Nosize NOTHOUSANDS NOTICKS NOTIFICATIONSDLL NOTIFYICONDATA NOTIFYICONDATAW NOTIMPL -NOTOPMOST -Notopmost NOTRACK NOTSRCCOPY NOTSRCERASE -Notupdated -notwindows NOTXORPEN -nowarn NOZORDER NPH npmjs -NPU NResize NTAPI ntdll -ntfs NTSTATUS NTSYSAPI NULLCURSOR nullonfailure -nullref numberbox nwc ocr @@ -1300,19 +992,12 @@ oldpath oldtheme oleaut OLECHAR -ollama -onebranch -onnx -OOBEUI openas opencode OPENFILENAME -openrdp opensource -openurl openxmlformats OPTIMIZEFORINVOKE -Optronics ORPHANEDDIALOGTITLE ORSCANS oss @@ -1323,7 +1008,6 @@ OSVERSIONINFOW osvi OUTOFCONTEXT Outptr -outputtype outsettings OVERLAPPEDWINDOW Oversampling @@ -1335,10 +1019,8 @@ PACL PAINTSTRUCT PALETTEWINDOW PARENTNOTIFY -PARENTRELATIVE PARENTRELATIVEEDITING PARENTRELATIVEFORADDRESSBAR -PARENTRELATIVEFORUI PARENTRELATIVEPARSING parray PARTIALCONFIRMATIONDIALOGTITLE @@ -1348,9 +1030,7 @@ PATINVERT PATPAINT pbc pbi -PBP PBlob -pbrush pcb pcch pcelt @@ -1359,11 +1039,9 @@ pchast PCIDLIST PCTSTR PCWSTR -PDBs PDEVMODE pdisp PDLL -pdmodels pdo pdto pdtobj @@ -1385,27 +1063,20 @@ pgp pguid phbm phbmp -phicon -PHL -Photoshop phwnd pici pidl PIDLIST -pii pinfo pinvoke pipename PKBDLLHOOKSTRUCT -pkgfamily -PKI plib ploc ploca plocm pluginsmodel PMAGTRANSFORM -PMs PMSIHANDLE pnid PNMLINK @@ -1414,13 +1085,9 @@ Podcasts POINTERID POINTERUPDATE Pokedex -Pomodoro Popups POPUPWINDOW POSITIONITEM -POWERBROADCAST -powerdisplay -POWERDISPLAYMODULEINTERFACE POWERRENAMECONTEXTMENU powerrenameinput POWERRENAMETEST @@ -1441,10 +1108,8 @@ ppstm ppsz pptal ppv -ppwsz prc Prefixer -Premul prependpath prepopulate prevhost @@ -1457,14 +1122,12 @@ prg prgh prgms pri -primaryclickaction PRINTCLIENT printmanagement prm proactively PROCESSENTRY PROCESSKEY -processthreadsapi PROCESSTRACE procmon PRODEXT @@ -1473,19 +1136,15 @@ Progman programdata projectname PROPERTYKEY -Propset PROPVARIANT -prot PRTL prvpane psapi pscid -pscustomobject PSECURITY psfgao psfi PSMODULEPATH -Psr psrm psrree pstatstg @@ -1504,43 +1163,31 @@ PTOKEN PToy ptstr pui -pvct PWAs pwcs PWSTR pwsz pwtd -Qdc -QDC -qdc -QDS qit QITAB QITABENT -QNN qoi Quarternary QUERYENDSESSION QUERYOPEN QUEUESYNC -quickaccent QUNS RAII RAlt randi -RAquadrant -rasterization Rasterize -rasterizing RAWINPUTDEVICE RAWINPUTHEADER RAWMODE RAWPATH rbhid -Rbuttondown rclsid RCZOOMIT -rdp RDW READMODE READOBJECTS @@ -1561,21 +1208,17 @@ REGISTRYPREVIEWEXT registryroot regkey regroot -regsvr REINSTALLMODE -releaseblog reloadable Relogger remappings REMAPSUCCESSFUL REMAPUNSUCCESSFUL Remotable -remotedesktop remoteip Removelnk renamable RENAMEONCOLLISION -RENDERFULLCONTENT reparented reparenting reportfileaccesses @@ -1597,17 +1240,13 @@ rgf rgh rgn rgs -rguid -rhk RIDEV RIGHTSCROLLBAR riid RKey RNumber -rollups rop ROUNDSMALL -ROWSETEXT rpcrt RRF rsop @@ -1615,7 +1254,6 @@ Rsp rstringalnum rstringalpha rstringdigit -rtb RTLREADING runas rundll @@ -1630,15 +1268,12 @@ sacl safeprojectname SAMEKEYPREVIOUSLYMAPPED SAMESHORTCUTPREVIOUSLYMAPPED -samsung -sancov SAVEFAILED scanled schedtasks SCID Scode SCREENFONTS -screenruler screensaver screenshots scrollviewer @@ -1647,13 +1282,10 @@ SDKDDK sdns searchterm SEARCHUI -secondaryclickaction SECONDARYDISPLAY secpol -securestring SEEMASKINVOKEIDLIST SELCHANGE -selfhost SENDCHANGE sendvirtualinput serverside @@ -1674,7 +1306,6 @@ SETSCREENSAVEACTIVE SETSTICKYKEYS SETTEXT SETTINGCHANGE -settingscard SETTINGSCHANGED settingsheader settingshotkeycontrol @@ -1686,26 +1317,21 @@ SFGAOF SHACF SHANDLE sharepoint -sharpfuzz SHCNE SHCNF SHCONTF -shcore shellapi SHELLDETAILS SHELLDLL shellex SHELLEXECUTEINFO SHELLEXECUTEINFOW -SHELLICONSIZE SHFILEINFO SHFILEOPSTRUCT SHGDN SHGDNF SHGFI -SHIL shinfo -shk shlwapi shobjidl SHORTCUTATLEAST @@ -1734,10 +1360,7 @@ SICHINT SIDs siex sigdn -Signedness SIGNINGSCENARIO -signtool -SIIGBF SINGLEKEY sipolicy SIZEBOX @@ -1751,14 +1374,10 @@ SKIPOWNPROCESS sku SLGP sln -slnf -slnx SMALLICON smartphone -smileys SMTO SNAPPROCESS -snk snwprintf softline SOURCECLIENTAREAONLY @@ -1790,8 +1409,6 @@ srw srwlock sse ssf -Ssn -sszzz STACKFRAME stackoverflow STARTF @@ -1801,9 +1418,6 @@ STARTUPINFOEX STARTUPINFOW startupscreen STATFLAG -STATICEDGE -Staticedge -staticmethod STATSTG stdafx STDAPI @@ -1812,34 +1426,27 @@ stdcpp stdcpplatest STDMETHODCALLTYPE STDMETHODIMP -steamapps STGC STGM STGMEDIUM -STGMREAD STICKYKEYS sticpl storelogo stprintf -streamable streamjsonrpc STRINGIZE stringtable stringval Strm strret -STRSAFE stscanf sttngs Stubless -stuttery STYLECHANGED STYLECHANGING subkeys sublang SUBMODULEUPDATE -subresource -swp Superbar sut svchost @@ -1848,10 +1455,6 @@ SVGIO svgz SVSI SWFO -SWP -Swp -SWPNOSIZE -SWPNOZORDER SWRESTORE symbolrequestprod SYMCACHE @@ -1868,17 +1471,13 @@ SYSKEY syskeydown SYSKEYUP SYSLIB -sysmenu -systemai SYSTEMAPPS SYSTEMMODAL SYSTEMTIME -TARG TARGETAPPHEADER targetentrypoint TARGETHEADER targetver -taskbar taskkill taskschd TCHAR @@ -1896,22 +1495,14 @@ tcsrchr tdbuild telephon templatenamespace -TESTONLY testprocess TEXCOORD -TEXTBOXNEWLINE -textextractor TEXTINCLUDE tfopen -tgamma tgz -THEMECHANGED themeresources THH -THICKFRAME -Thickframe THISCOMPONENT -Tianma throughs TILEDWINDOW TILLSON @@ -1925,15 +1516,14 @@ tkconverters tlb tlbimp tlc -tmain +TPMLEFTALIGN +TPMRETURNCMD TNP Toolhelp toolwindow TOPDOWNDIB TOUCHEVENTF TOUCHINPUT -TPMLEFTALIGN -TPMRETURNCMD TRACEHANDLE tracelogging tracerpt @@ -1945,9 +1535,7 @@ triaging trl trx tsa -tskill tstoi -tweakable TWF tymed TYPEKEYBOARD @@ -1958,32 +1546,21 @@ UACUI UAL uap UBR -UBreak -ubrk UCallback ucrt ucrtd uefi -UError uesc UFlags UHash UIA UIEx -uild -uitests -UITo ULONGLONG -Ultrawide -UMax -UMin ums uncompilable UNCPRIORITY UNDNAME UNICODETEXT -unins -Uninstaller uninstalls Uniquifies unitconverter @@ -1991,8 +1568,6 @@ unittests UNLEN UNORM unremapped -Unsubscribes -unsubscribes unvirtualized unwide unzoom @@ -2001,32 +1576,24 @@ UOI UPDATENOW updown UPGRADINGPRODUCTCODE -upscaling Uptool urld Usb USEDEFAULT USEFILEATTRIBUTES -USEINSTALLERFORTEST USESHOWWINDOW USESTDHANDLES USRDLL UType uuidv uwp -uxt uxtheme vabdq validmodulename valuegenerator -variantassignment -VARTYPE vcamp -vcenter vcgtq VCINSTALLDIR -vcp -vcpname Vcpkg VCRT vcruntime @@ -2039,13 +1606,9 @@ VERIFYCONTEXT VERSIONINFO VERTRES VERTSIZE -VESA -vesa VFT vget vgetq -viewmodels -virama VIRTKEY VIRTUALDESK VISEGRADRELAY @@ -2054,12 +1617,10 @@ visualeffects vkey vmovl VMs -vnd vorrq VOS vpaddlq vqsubq -vredraw vreinterpretq VSC VSCBD @@ -2071,8 +1632,6 @@ VSINSTALLDIR VSM vso vsonline -VSpeed -VSync vstemplate vstest VSTHRD @@ -2080,20 +1639,16 @@ vstprintf VSTT vswhere Vtbl -WANTNUKEWARNING WANTPALM -WASDK wbem WBounds Wca WCE wcex WClass -WCRAPI wcsicmp wcsncpy wcsnicmp -WCT WDA wdm wdp @@ -2102,48 +1657,38 @@ webbrowsers webpage websites wekyb -wft wgpocpl -WHEREID +WIC wic wifi -wikimedia -wikipedia -WIL winapi winappsdk windir WINDOWCREATED -windowedge WINDOWINFO WINDOWNAME WINDOWPLACEMENT WINDOWPOSCHANGED WINDOWPOSCHANGING WINDOWSBUILDNUMBER -windowsml windowssearch windowssettings WINDOWSTYLES WINDOWSTYLESICON winerror WINEVENT -winexe -winforms winget wingetcreate -wingetpkgs Winhook WINL winlogon winmd -winml +WINNT winres winrt winsdk winsta WINTHRESHOLD -WINNT WINVER winxamlmanager withinrafael @@ -2155,27 +1700,20 @@ WKSG Wlkr wmain Wman -wmi -WMI WMICIM wmimgmt wmp -wmsg WMSYSCOMMAND wnd WNDCLASS WNDCLASSEX WNDCLASSEXW WNDCLASSW -WNDPROC -Wndproc wnode -wom WORKSPACESEDITOR WORKSPACESLAUNCHER WORKSPACESSNAPSHOTTOOL WORKSPACESWINDOWARRANGER -worktree wox wparam wpf @@ -2202,57 +1740,484 @@ WTSAT Wubi WUX Wwanpp -xap XAxis -XButton -Xbuttondown xclip -xcopy -XDeployment -xdf -XDimension XDocument XElement xfd XFile XIncrement -XLoc -xmp XNamespace Xoshiro XPels XPixel -XPos XResource xsi -XSpeed XStr xstyler -XTimer XUP XVIRTUALSCREEN -XXL xxxxxx YAxis ycombinator -YDimension YIncrement yinle yinyue YPels -YPos YResolution -YSpeed YStr -YTimer YVIRTUALSCREEN -zamora ZEROINIT -zonability zonable zoneset Zoneszonabletester Zoomin zoomit ZOOMITX +AAAAs +ABORTIFHUNG +acfs +ACIE +ACR +ACTIVATEOPTIONS +ADate +ADMINS +advancedpaste +advapi +agentskills +AHK +AIUI +Allmodule +ALLNOISE +AOklab +aot +APMPOWERSTATUSCHANGE +APMRESUMEAUTOMATIC +APMRESUMESUSPEND +appext +appsfeatures +appxpackage +Aquadrant +ARTIFACTSTAGINGDIRECTORY +Ashcraft +ASUS +AUO +authenticode +azureaiinference +azureinference +azureopenai +Backlight +backticks +Badflags +Badmode +Badparam +BCIE +BIGGERSIZEOK +binskim +blittable +blt +bluelightreduction +bluelightreductionstate +BOklab +Bootstrappers +breadcrumb +BUNDLEINFO +BYCOMMAND +Canvascustomlayout +carlos +Carlseibert +caub +CBN +CDPX +Cds +cer +chatasweetie +checkmarks +Chunghwa +CIBUILD +CIELCh +classguid +classmethod +claude +CLEARTYPE +clientedge +clp +CMN +CODENAME +Coen +cognitiveservices +colorref +commandnotfound +COMPOSITIONDISABLED +constexpr +contentdialog +Convs +coppied +copyable +coreclr +Corpor +covrun +Cowait +cpptools +cppvsdbg +creativecommons +cropandlock +CROPTOSQUARE +crt +csdevkit +CSOT +CURSORSHOWING +cursorwrap +CUSTOMFORMATPLACEHOLDER +CWMO +Czechia +DAffine +DAFFINETRANSFORM +dbcc +DBT +DCapabilities +ddc +debouncer +Deduplicator +DEFAULTSIZE +defaulttonearest +DESKTOPHORZRES +DESKTOPVERTRES +devenv +DEVICEINTERFACE +devicetype +DEVINTERFACE +DEVNODES +DEVTYP +dfx +diffs +digicert +DINORMAL +displayconfig +diu +dlgmodalframe +downsampled +downsampling +downscale +DPMS +DString +DSVG +dto +dutil +dwflags +Dxva +eab +EAccess +edid +eep +EInvalid +eku +emojis +ENot +ENTRYW +environmentvariables +EProvider +etd +EXECUTEDEFAULT +exf +exprtk +fdw +fdx +FErase +fesf +FFFF +FFh +Figma +fileexploreraddons +fileexplorerpreview +filelocksmith +FInc +findmymouse +FNumber +foundrylocal +framechanged +FRestore +fsanitize +ftps +fuzzingtesting +fxf +gameid +geolocator +GETLBTEXT +gfx +gitmodules +googleai +googlegemini +Gotchas +grctlext +Gridcustomlayout +Hann +Hantai +HDEVNOTIFY +hgdiobj +HHmmssfff +HICONSM +hkmng +HMON +HOOKPROC +hostsfileeditor +Hostx +hotfixes +HPhysical +hredraw +HSpeed +HSync +hutchinsoniana +HWP +ICONONLY +IDOn +ifd +IIM +ILD +inapp +inlines +Inno +Innolux +installdir +intput +invokecommand +ipreviewhandlervisualssetfont +IPTC +irow +isfinite +issuecomment +istep +IUWP +IVO +jeli +JOBOBJECT +Kantai +keycap +keyring +KVM +kvp +LARGEICON +lbl +Lbuttondown +LCh +lcid +lcl +LEFTALIGN +leftclick +Lenovo +LFU +LGD +LIBFUZZER +lightswitch +LIVEDRAW +livezoom +lng +LOCKTYPE +LOGMSG +lon +lpch +LPrivate +lquadrant +makeappx +makepri +Malware +maximizebox +mber +Mbuttondown +mccs +mcp +Metacharacter +metadatamatters +middleclickaction +MIIM +mikeclayton +minimizebox +modelcontextprotocol +mousehighlighter +mousejump +mousepointer +mouseutils +mrt +MSAL +msdia +MSIs +mstsc +mswhql +muxx +muxxc +muxxh +MVPs +myorg +myrepo +Nanjing +NEWFILEHEADER +nightlight +nodiscard +nologo +nomove +nosize +notopmost +Notupdated +notwindows +nowarn +NPU +ntfs +nullref +ollama +onebranch +onnx +OOBEUI +openrdp +openurl +Optronics +outputtype +PARENTRELATIVE +PARENTRELATIVEFORUI +PBP +pbrush +PDBs +pdmodels +phicon +PHL +Photoshop +pii +pkgfamily +PKI +PMs +Pomodoro +POWERBROADCAST +powerdisplay +POWERDISPLAYMODULEINTERFACE +ppwsz +Premul +primaryclickaction +processthreadsapi +prot +pscustomobject +Psr +pvct +qdc +QDS +QNN +quickaccent +RAquadrant +rasterization +rasterizing +Rbuttondown +rdp +regsvr +releaseblog +remotedesktop +RENDERFULLCONTENT +rguid +rhk +rollups +rtb +samsung +sancov +screenruler +secondaryclickaction +securestring +selfhost +settingscard +sharpfuzz +shcore +SHELLICONSIZE +SHIL +shk +Signedness +signtool +SIIGBF +slnf +slnx +smileys +snk +Ssn +sszzz +staticedge +staticmethod +steamapps +STGMREAD +streamable +STRSAFE +stuttery +subresource +swp +SWPNOSIZE +SWPNOZORDER +sysmenu +systemai +TARG +taskbar +TESTONLY +TEXTBOXNEWLINE +textextractor +tgamma +THEMECHANGED +thickframe +Tianma +tmain +tskill +tweakable +UBreak +ubrk +UError +uild +uitests +UITo +Ultrawide +UMax +UMin +unins +Uninstaller +unsubscribes +upscaling +USEINSTALLERFORTEST +uxt +VARTYPE +vcenter +vcp +vcpname +vesa +viewmodels +virama +vnd +vredraw +VSpeed +VSync +WASDK +WCRAPI +wft +wikimedia +wikipedia +windowedge +windowsml +winexe +winforms +wingetpkgs +winml +wmi +wmsg +wndproc +wom +worktree +xap +XButton +Xbuttondown +xcopy +XDeployment +xdf +XDimension +XLoc +xmp +XPos +XSpeed +XTimer +XXL +YDimension +YPos +YSpeed +YTimer +zamora +zonability Zorder diff --git a/.pipelines/v2/templates/job-test-project.yml b/.pipelines/v2/templates/job-test-project.yml index 2c5fdc78ff..0112738499 100644 --- a/.pipelines/v2/templates/job-test-project.yml +++ b/.pipelines/v2/templates/job-test-project.yml @@ -108,9 +108,6 @@ jobs: sdk: true version: '9.0' - - task: VisualStudioTestPlatformInstaller@1 - displayName: Ensure VSTest Platform - - pwsh: |- & '$(build.sourcesdirectory)\.pipelines\InstallWinAppDriver.ps1' displayName: Download and install WinAppDriver @@ -152,46 +149,7 @@ jobs: inputs: displaySettings: 'optimal' - - ${{ if eq(length(parameters.uiTestModules), 0) }}: - - task: VSTest@3 - displayName: Run UI Tests - inputs: - platform: '$(BuildPlatform)' - configuration: '$(BuildConfiguration)' - testSelector: 'testAssemblies' - searchFolder: '$(Pipeline.Workspace)\$(TestArtifactsName)' - vsTestVersion: 'toolsInstaller' - uiTests: true - rerunFailedTests: true - testRunTitle: 'UITests_${{ parameters.platform }}_${{ parameters.installMode }}' - # Since UITests-FancyZonesEditor.dll is generated in both UITests-FancyZonesEditor and UITests-FancyZones, removed one to avoid duplicate test runs - testAssemblyVer2: | - **\*UITest*.dll - !**\obj\** - !**\ref\** - !**\UITests-FancyZones\**\UITests-FancyZonesEditor.dll - env: - platform: '$(TestPlatform)' - useInstallerForTest: ${{ ne(parameters.buildSource, 'buildNow') }} - - - ${{ if ne(length(parameters.uiTestModules), 0) }}: - - ${{ each module in parameters.uiTestModules }}: - - task: VSTest@3 - displayName: Run UI Test - ${{ module }} - inputs: - platform: '$(BuildPlatform)' - configuration: '$(BuildConfiguration)' - testSelector: 'testAssemblies' - searchFolder: '$(Pipeline.Workspace)\$(TestArtifactsName)' - vsTestVersion: 'toolsInstaller' - uiTests: true - rerunFailedTests: true - testRunTitle: 'UITests_${{ parameters.platform }}_${{ parameters.installMode }}' - testAssemblyVer2: | - **\*${{ module }}*.dll - !**\obj\** - !**\ref\** - !**\UITests-FancyZones\**\UITests-FancyZonesEditor.dll - env: - platform: '$(TestPlatform)' - useInstallerForTest: ${{ ne(parameters.buildSource, 'buildNow') }} + - script: | + dotnet test $(Build.SourcesDirectory)\src\modules\fancyzones\FancyZones.UITests\FancyZones.UITests.csproj --no-build -c $(BuildConfiguration) -p:Platform=$(BuildPlatform) + dotnet test $(Build.SourcesDirectory)\src\modules\fancyzones\FancyZonesEditor.UITests\FancyZonesEditor.UITests.csproj --no-build -c $(BuildConfiguration) -p:Platform=$(BuildPlatform) + displayName: "Run UI Tests" diff --git a/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 b/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 index a5cf73e6e9..0e0fdbabf7 100644 --- a/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 +++ b/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 @@ -93,7 +93,8 @@ if ($noticeMatch.Success) { # Test-only packages that are allowed to be in NOTICE.md but not in the build # (e.g., when BuildTests=false, these packages won't appear in the NuGet list) $allowedExtraPackages = @( - "- Moq" + "- Moq", + "- MSTest" ) if (!$noticeFile.Trim().EndsWith($returnList.Trim())) diff --git a/Directory.Build.props b/Directory.Build.props index e9127613df..a2e19ad31d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,6 +20,23 @@ direct false $(Platform) + + + true + true + true + $(TestingPlatformCommandLineArguments) --report-trx + + true + + + + + true + + + + + + + + + - + - + trx - + + diff --git a/NOTICE.md b/NOTICE.md index e1a32d6f76..73a3532096 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -1582,6 +1582,7 @@ SOFTWARE. - ModernWpfUI - Moq - MSTest +- MSTest.TestFramework - NJsonSchema - NLog - NLog.Extensions.Logging @@ -1602,4 +1603,4 @@ SOFTWARE. - WinUIEx - WmiLight - WPF-UI -- WyHash \ No newline at end of file +- WyHash diff --git a/nuget.config b/nuget.config index 6b8d13a023..c9ab0b2a86 100644 --- a/nuget.config +++ b/nuget.config @@ -1,4 +1,4 @@ - + diff --git a/src/Common.Dotnet.FuzzTest.props b/src/Common.Dotnet.FuzzTest.props index b3dbb32758..c9d94c7fff 100644 --- a/src/Common.Dotnet.FuzzTest.props +++ b/src/Common.Dotnet.FuzzTest.props @@ -7,4 +7,13 @@ net8.0-windows10.0.26100.0 + + + + true + diff --git a/src/common/UITestAutomation/Element/Element.cs b/src/common/UITestAutomation/Element/Element.cs index 6e9efabeac..515506d4c8 100644 --- a/src/common/UITestAutomation/Element/Element.cs +++ b/src/common/UITestAutomation/Element/Element.cs @@ -8,7 +8,6 @@ using System.Runtime.CompilerServices; using System.Xml.Linq; using ABI.Windows.Foundation; using Microsoft.PowerToys.UITest; -using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Appium; diff --git a/src/common/UITestAutomation/UITestAutomation.csproj b/src/common/UITestAutomation/UITestAutomation.csproj index 0b40b9fcd3..59310e79c0 100644 --- a/src/common/UITestAutomation/UITestAutomation.csproj +++ b/src/common/UITestAutomation/UITestAutomation.csproj @@ -15,7 +15,8 @@ - + + diff --git a/src/common/interop/interop-tests/Common.Interop.UnitTests.csproj b/src/common/interop/interop-tests/Common.Interop.UnitTests.csproj index f68411165b..1ef8e2b6b1 100644 --- a/src/common/interop/interop-tests/Common.Interop.UnitTests.csproj +++ b/src/common/interop/interop-tests/Common.Interop.UnitTests.csproj @@ -4,7 +4,7 @@ false - Library + Exe Microsoft.Interop.Tests Microsoft.Interop.Tests false diff --git a/src/dsc/v3/PowerToys.DSC.UnitTests/PowerToys.DSC.UnitTests.csproj b/src/dsc/v3/PowerToys.DSC.UnitTests/PowerToys.DSC.UnitTests.csproj index 3995b78254..750a125bfa 100644 --- a/src/dsc/v3/PowerToys.DSC.UnitTests/PowerToys.DSC.UnitTests.csproj +++ b/src/dsc/v3/PowerToys.DSC.UnitTests/PowerToys.DSC.UnitTests.csproj @@ -3,6 +3,10 @@ + true + win-x64 + win-arm64 + Exe false $(RepoRoot)$(Configuration)\$(Platform)\tests\PowerToys.DSC.Tests\ diff --git a/src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj b/src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj index 003a1f1d58..c756ccfc7f 100644 --- a/src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj +++ b/src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj @@ -46,6 +46,7 @@ - + + \ No newline at end of file diff --git a/src/modules/AdvancedPaste/AdvancedPaste.FuzzTests/AdvancedPaste.FuzzTests.csproj b/src/modules/AdvancedPaste/AdvancedPaste.FuzzTests/AdvancedPaste.FuzzTests.csproj index 557803aa64..fb4334f6d8 100644 --- a/src/modules/AdvancedPaste/AdvancedPaste.FuzzTests/AdvancedPaste.FuzzTests.csproj +++ b/src/modules/AdvancedPaste/AdvancedPaste.FuzzTests/AdvancedPaste.FuzzTests.csproj @@ -6,6 +6,12 @@ latest enable enable + Exe + + + + + $(TestingPlatformCommandLineArguments) --ignore-exit-code 8 $(RepoRoot)$(Platform)\$(Configuration)\tests\AdvancedPaste.FuzzTests\ diff --git a/src/modules/AdvancedPaste/AdvancedPaste.UnitTests/AdvancedPaste.UnitTests.csproj b/src/modules/AdvancedPaste/AdvancedPaste.UnitTests/AdvancedPaste.UnitTests.csproj index df90a2fa5d..71cd9dfed3 100644 --- a/src/modules/AdvancedPaste/AdvancedPaste.UnitTests/AdvancedPaste.UnitTests.csproj +++ b/src/modules/AdvancedPaste/AdvancedPaste.UnitTests/AdvancedPaste.UnitTests.csproj @@ -3,11 +3,14 @@ + true + win-x64 + win-arm64 false false false $(SolutionDir)$(Platform)\$(Configuration)\tests\AdvancedPaste.UnitTests\ - true + Exe diff --git a/src/modules/Hosts/Hosts.FuzzTests/HostsEditor.FuzzTests.csproj b/src/modules/Hosts/Hosts.FuzzTests/HostsEditor.FuzzTests.csproj index 89edfbfc98..e328ad985b 100644 --- a/src/modules/Hosts/Hosts.FuzzTests/HostsEditor.FuzzTests.csproj +++ b/src/modules/Hosts/Hosts.FuzzTests/HostsEditor.FuzzTests.csproj @@ -7,6 +7,11 @@ latest enable TESTONLY + + + + + $(TestingPlatformCommandLineArguments) --ignore-exit-code 8 diff --git a/src/modules/Hosts/Hosts.Tests/HostsEditor.UnitTests.csproj b/src/modules/Hosts/Hosts.Tests/HostsEditor.UnitTests.csproj index 7b5aa8b532..a4ad7094af 100644 --- a/src/modules/Hosts/Hosts.Tests/HostsEditor.UnitTests.csproj +++ b/src/modules/Hosts/Hosts.Tests/HostsEditor.UnitTests.csproj @@ -9,6 +9,7 @@ $(SolutionDir)$(Platform)\$(Configuration)\tests\Hosts.Tests\ Hosts.Tests PowerToys.Hosts.Tests + Exe diff --git a/src/modules/MouseUtils/MouseJump.Common.UnitTests/MouseJump.Common.UnitTests.csproj b/src/modules/MouseUtils/MouseJump.Common.UnitTests/MouseJump.Common.UnitTests.csproj index c247b3e7fa..aa885b9071 100644 --- a/src/modules/MouseUtils/MouseJump.Common.UnitTests/MouseJump.Common.UnitTests.csproj +++ b/src/modules/MouseUtils/MouseJump.Common.UnitTests/MouseJump.Common.UnitTests.csproj @@ -8,7 +8,7 @@ PowerToys.MouseJump.Common.UnitTests PowerToys.MouseJump.Common.UnitTests PowerToys MouseJump.Common.UnitTests - Library + Exe $(RepoRoot)$(Platform)\$(Configuration)\tests\MouseJump.Common.UnitTests\ false false diff --git a/src/modules/MouseWithoutBorders/MouseWithoutBorders.UnitTests/MouseWithoutBorders.UnitTests.csproj b/src/modules/MouseWithoutBorders/MouseWithoutBorders.UnitTests/MouseWithoutBorders.UnitTests.csproj index 6020214279..c604365e96 100644 --- a/src/modules/MouseWithoutBorders/MouseWithoutBorders.UnitTests/MouseWithoutBorders.UnitTests.csproj +++ b/src/modules/MouseWithoutBorders/MouseWithoutBorders.UnitTests/MouseWithoutBorders.UnitTests.csproj @@ -6,7 +6,13 @@ enable enable - Library + Exe + + + + + + $(TestingPlatformCommandLineArguments) --ignore-exit-code 8 diff --git a/src/modules/Workspaces/WorkspacesEditorUITest/Workspaces.Editor.UITests.csproj b/src/modules/Workspaces/WorkspacesEditorUITest/Workspaces.Editor.UITests.csproj index f80bc502d5..8b8643c962 100644 --- a/src/modules/Workspaces/WorkspacesEditorUITest/Workspaces.Editor.UITests.csproj +++ b/src/modules/Workspaces/WorkspacesEditorUITest/Workspaces.Editor.UITests.csproj @@ -2,10 +2,13 @@ + true + win-x64 + win-arm64 latest enable enable - Library + Exe false true false diff --git a/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.UnitTestsBase/Microsoft.CmdPal.Ext.UnitTestBase.csproj b/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.UnitTestsBase/Microsoft.CmdPal.Ext.UnitTestBase.csproj index 9e12557b9a..2d5371c099 100644 --- a/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.UnitTestsBase/Microsoft.CmdPal.Ext.UnitTestBase.csproj +++ b/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.UnitTestsBase/Microsoft.CmdPal.Ext.UnitTestBase.csproj @@ -6,6 +6,8 @@ false Microsoft.CmdPal.Ext.UnitTestsBase true + + true @@ -16,4 +18,4 @@ - \ No newline at end of file + diff --git a/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests.csproj b/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests.csproj index ec165aa5fc..c114cd5b2d 100644 --- a/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests.csproj +++ b/src/modules/cmdpal/Tests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests/Microsoft.CmdPal.Ext.WindowWalker.UnitTests.csproj @@ -6,6 +6,8 @@ false true Microsoft.CmdPal.Ext.WindowWalker.UnitTests + + true $(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPal\tests\ false false diff --git a/src/modules/colorPicker/ColorPickerUI.UnitTests/ColorPickerUI.UnitTests.csproj b/src/modules/colorPicker/ColorPickerUI.UnitTests/ColorPickerUI.UnitTests.csproj index 5035cc40c4..a713c6cd17 100644 --- a/src/modules/colorPicker/ColorPickerUI.UnitTests/ColorPickerUI.UnitTests.csproj +++ b/src/modules/colorPicker/ColorPickerUI.UnitTests/ColorPickerUI.UnitTests.csproj @@ -3,11 +3,14 @@ + true + win-x64 + win-arm64 {F93C2817-C846-4259-84D8-B39A6B57C8DE} ColorPicker.UnitTests false enable - Library + Exe diff --git a/src/modules/fancyzones/FancyZones.UITests/FancyZones.UITests.csproj b/src/modules/fancyzones/FancyZones.UITests/FancyZones.UITests.csproj index 2149093bbf..8554072add 100644 --- a/src/modules/fancyzones/FancyZones.UITests/FancyZones.UITests.csproj +++ b/src/modules/fancyzones/FancyZones.UITests/FancyZones.UITests.csproj @@ -7,10 +7,13 @@ Microsoft.FancyZones.UITests false enable - Library - - - false + Exe + true + win-x64 + win-arm64 + + + true @@ -38,4 +41,4 @@ - \ No newline at end of file + diff --git a/src/modules/fancyzones/FancyZonesEditor.UITests/FancyZonesEditor.UITests.csproj b/src/modules/fancyzones/FancyZonesEditor.UITests/FancyZonesEditor.UITests.csproj index fa35f121ea..443c50059a 100644 --- a/src/modules/fancyzones/FancyZonesEditor.UITests/FancyZonesEditor.UITests.csproj +++ b/src/modules/fancyzones/FancyZonesEditor.UITests/FancyZonesEditor.UITests.csproj @@ -7,10 +7,13 @@ Microsoft.FancyZonesEditor.UITests false enable - Library - - - false + Exe + true + win-x64 + win-arm64 + + + true @@ -34,4 +37,4 @@ - \ No newline at end of file + diff --git a/src/modules/fancyzones/FancyZonesEditor.UnitTests/FancyZonesEditor.UnitTests.csproj b/src/modules/fancyzones/FancyZonesEditor.UnitTests/FancyZonesEditor.UnitTests.csproj index 00b2f79256..d00e8b0917 100644 --- a/src/modules/fancyzones/FancyZonesEditor.UnitTests/FancyZonesEditor.UnitTests.csproj +++ b/src/modules/fancyzones/FancyZonesEditor.UnitTests/FancyZonesEditor.UnitTests.csproj @@ -7,8 +7,11 @@ false enable - false true + Library + true + win-x64 + win-arm64 $(RepoRoot)$(Platform)\$(Configuration)\tests\UnitTest-FancyZonesEditor\ diff --git a/src/modules/imageresizer/tests/ImageResizer.UnitTests.csproj b/src/modules/imageresizer/tests/ImageResizer.UnitTests.csproj index ceaa169692..4588574c62 100644 --- a/src/modules/imageresizer/tests/ImageResizer.UnitTests.csproj +++ b/src/modules/imageresizer/tests/ImageResizer.UnitTests.csproj @@ -1,59 +1,62 @@ - - - - - - {E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8} - Library + + + + + + {E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8} + Exe + true + win-x64 + win-arm64 Properties - ImageResizer - ImageResizer.Test - - $(SolutionDir)$(Platform)\$(Configuration)\tests\$(AssemblyName)\ - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - runtime - - - + ImageResizer + ImageResizer.Test + + $(SolutionDir)$(Platform)\$(Configuration)\tests\$(AssemblyName)\ + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + runtime + + + diff --git a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest.csproj b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest.csproj index f72848843c..c14e9e4ead 100644 --- a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest.csproj +++ b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest/Community.PowerToys.Run.Plugin.UnitConverter.UnitTest.csproj @@ -4,6 +4,7 @@ false + Exe diff --git a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests.csproj b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests.csproj index 3668a64b0f..b15a47c9b4 100644 --- a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests/Community.PowerToys.Run.Plugin.ValueGenerator.UnitTests.csproj @@ -5,6 +5,7 @@ enable false + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder.UnitTests/Microsoft.Plugin.Folder.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder.UnitTests/Microsoft.Plugin.Folder.UnitTests.csproj index 22fce25549..5292ee9009 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder.UnitTests/Microsoft.Plugin.Folder.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder.UnitTests/Microsoft.Plugin.Folder.UnitTests.csproj @@ -6,6 +6,7 @@ false Microsoft.Plugin.Folder.UnitTests true + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Microsoft.Plugin.Program.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Microsoft.Plugin.Program.UnitTests.csproj index 06a97d8c19..d55171e92b 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Microsoft.Plugin.Program.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Microsoft.Plugin.Program.UnitTests.csproj @@ -4,7 +4,7 @@ false - AppxManifests\developmentApp\AppxManifest.xml + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri.UnitTests/Microsoft.Plugin.Uri.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri.UnitTests/Microsoft.Plugin.Uri.UnitTests.csproj index 88bd01fbb9..b72d7190bf 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri.UnitTests/Microsoft.Plugin.Uri.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri.UnitTests/Microsoft.Plugin.Uri.UnitTests.csproj @@ -6,6 +6,7 @@ false Microsoft.Plugin.Uri.UnitTests true + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker.UnitTests/Microsoft.Plugin.WindowWalker.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker.UnitTests/Microsoft.Plugin.WindowWalker.UnitTests.csproj index 2f4b9ca9a7..9fb7d3af3e 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker.UnitTests/Microsoft.Plugin.WindowWalker.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker.UnitTests/Microsoft.Plugin.WindowWalker.UnitTests.csproj @@ -5,6 +5,7 @@ false Microsoft.Plugin.WindowWalker.UnitTests + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest.csproj b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest.csproj index 9ba8ad6f92..4127232e74 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest.csproj +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest/Microsoft.PowerToys.Run.Plugin.Calculator.UnitTest.csproj @@ -6,6 +6,7 @@ false Microsoft.PowerToys.Run.Plugin.Calculator.UnitTests true + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Registry.UnitTest/Microsoft.PowerToys.Run.Plugin.Registry.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Registry.UnitTest/Microsoft.PowerToys.Run.Plugin.Registry.UnitTests.csproj index 49474e767e..f90d11b779 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Registry.UnitTest/Microsoft.PowerToys.Run.Plugin.Registry.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Registry.UnitTest/Microsoft.PowerToys.Run.Plugin.Registry.UnitTests.csproj @@ -5,6 +5,7 @@ enable false + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System.UnitTests/Microsoft.PowerToys.Run.Plugin.System.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System.UnitTests/Microsoft.PowerToys.Run.Plugin.System.UnitTests.csproj index a3b50d1700..34c20c3fd8 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System.UnitTests/Microsoft.PowerToys.Run.Plugin.System.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System.UnitTests/Microsoft.PowerToys.Run.Plugin.System.UnitTests.csproj @@ -5,6 +5,7 @@ false Microsoft.PowerToys.Run.Plugin.System.UnitTests + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests.csproj index 09eab9110d..09bb6c0597 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests/Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests.csproj @@ -5,6 +5,7 @@ false Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests + Exe diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsTerminal.UnitTests/Microsoft.Plugin.WindowsTerminal.UnitTests.csproj b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsTerminal.UnitTests/Microsoft.Plugin.WindowsTerminal.UnitTests.csproj index 590c967217..b10b194563 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsTerminal.UnitTests/Microsoft.Plugin.WindowsTerminal.UnitTests.csproj +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsTerminal.UnitTests/Microsoft.Plugin.WindowsTerminal.UnitTests.csproj @@ -5,6 +5,7 @@ true false + Exe diff --git a/src/modules/launcher/Wox.Test/Wox.Test.csproj b/src/modules/launcher/Wox.Test/Wox.Test.csproj index ae3a2fe7ce..232f29d72e 100644 --- a/src/modules/launcher/Wox.Test/Wox.Test.csproj +++ b/src/modules/launcher/Wox.Test/Wox.Test.csproj @@ -3,8 +3,11 @@ + true + win-x64 + win-arm64 {FF742965-9A80-41A5-B042-D6C7D3A21708} - Library + Exe Properties Wox.Test Wox.Test diff --git a/src/modules/previewpane/UnitTests-BgcodePreviewHandler/Preview.BgcodePreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-BgcodePreviewHandler/Preview.BgcodePreviewHandler.UnitTests.csproj index 3dc6bb8036..9eb28d3329 100644 --- a/src/modules/previewpane/UnitTests-BgcodePreviewHandler/Preview.BgcodePreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-BgcodePreviewHandler/Preview.BgcodePreviewHandler.UnitTests.csproj @@ -3,6 +3,10 @@ + true + win-x64 + win-arm64 + Exe UnitTests-BgcodePreviewHandler PowerToys UnitTests-BgcodePreviewHandler PowerToys UnitTests-BgcodePreviewHandler diff --git a/src/modules/previewpane/UnitTests-BgcodeThumbnailProvider/Preview.BgcodeThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-BgcodeThumbnailProvider/Preview.BgcodeThumbnailProvider.UnitTests.csproj index c1d8a153cf..86d28a144c 100644 --- a/src/modules/previewpane/UnitTests-BgcodeThumbnailProvider/Preview.BgcodeThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-BgcodeThumbnailProvider/Preview.BgcodeThumbnailProvider.UnitTests.csproj @@ -3,6 +3,10 @@ + true + win-x64 + win-arm64 + Exe UnitTests-BgcodeThumbnailProvider PowerToys UnitTests-BgcodeThumbnailProvider UnitTests-BgcodeThumbnailProvider diff --git a/src/modules/previewpane/UnitTests-GcodePreviewHandler/Preview.GcodePreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-GcodePreviewHandler/Preview.GcodePreviewHandler.UnitTests.csproj index 0a94141857..3770b3b179 100644 --- a/src/modules/previewpane/UnitTests-GcodePreviewHandler/Preview.GcodePreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-GcodePreviewHandler/Preview.GcodePreviewHandler.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-GcodePreviewHandler PowerToys UnitTests-GcodePreviewHandler UnitTests-GcodePreviewHandler @@ -13,6 +16,7 @@ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False + Exe diff --git a/src/modules/previewpane/UnitTests-GcodeThumbnailProvider/Preview.GcodeThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-GcodeThumbnailProvider/Preview.GcodeThumbnailProvider.UnitTests.csproj index a1bf1773d1..0ca84e94fb 100644 --- a/src/modules/previewpane/UnitTests-GcodeThumbnailProvider/Preview.GcodeThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-GcodeThumbnailProvider/Preview.GcodeThumbnailProvider.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-GcodeThumbnailProvider PowerToys UnitTests-GcodeThumbnailProvider UnitTests-GcodeThumbnailProvider @@ -14,6 +17,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-MarkdownPreviewHandler/Preview.MarkdownPreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-MarkdownPreviewHandler/Preview.MarkdownPreviewHandler.UnitTests.csproj index fbb7639dec..29572732cb 100644 --- a/src/modules/previewpane/UnitTests-MarkdownPreviewHandler/Preview.MarkdownPreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-MarkdownPreviewHandler/Preview.MarkdownPreviewHandler.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-MarkdownPreviewHandler PowerToys UnitTests-MarkdownPreviewHandler UnitTests-MarkdownPreviewHandler @@ -14,6 +17,7 @@ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False + Exe diff --git a/src/modules/previewpane/UnitTests-PdfPreviewHandler/Preview.PdfPreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-PdfPreviewHandler/Preview.PdfPreviewHandler.UnitTests.csproj index d2aea2043d..17a0687657 100644 --- a/src/modules/previewpane/UnitTests-PdfPreviewHandler/Preview.PdfPreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-PdfPreviewHandler/Preview.PdfPreviewHandler.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-PdfPreviewHandler PowerToys UnitTests-PdfPreviewHandler UnitTests-PdfPreviewHandler @@ -13,6 +16,7 @@ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False + Exe diff --git a/src/modules/previewpane/UnitTests-PdfThumbnailProvider/Preview.PdfThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-PdfThumbnailProvider/Preview.PdfThumbnailProvider.UnitTests.csproj index 6f31041e75..254903dcb3 100644 --- a/src/modules/previewpane/UnitTests-PdfThumbnailProvider/Preview.PdfThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-PdfThumbnailProvider/Preview.PdfThumbnailProvider.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-PdfThumbnailProvider PowerToys UnitTests-PdfThumbnailProvider UnitTests-PdfThumbnailProvider @@ -14,6 +17,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-PreviewHandlerCommon/Preview.PreviewHandlerCommon.UnitTests.csproj b/src/modules/previewpane/UnitTests-PreviewHandlerCommon/Preview.PreviewHandlerCommon.UnitTests.csproj index 934ff4a40c..424ac914ec 100644 --- a/src/modules/previewpane/UnitTests-PreviewHandlerCommon/Preview.PreviewHandlerCommon.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-PreviewHandlerCommon/Preview.PreviewHandlerCommon.UnitTests.csproj @@ -14,6 +14,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-QoiPreviewHandler/Preview.QoiPreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-QoiPreviewHandler/Preview.QoiPreviewHandler.UnitTests.csproj index e251c35d45..fd3a1682e3 100644 --- a/src/modules/previewpane/UnitTests-QoiPreviewHandler/Preview.QoiPreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-QoiPreviewHandler/Preview.QoiPreviewHandler.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-QoiPreviewHandler PowerToys UnitTests-QoiPreviewHandler UnitTests-QoiPreviewHandler @@ -13,6 +16,7 @@ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False + Exe diff --git a/src/modules/previewpane/UnitTests-QoiThumbnailProvider/Preview.QoiThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-QoiThumbnailProvider/Preview.QoiThumbnailProvider.UnitTests.csproj index 86ccad0f3d..6fc7c10b7e 100644 --- a/src/modules/previewpane/UnitTests-QoiThumbnailProvider/Preview.QoiThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-QoiThumbnailProvider/Preview.QoiThumbnailProvider.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-QoiThumbnailProvider PowerToys UnitTests-QoiThumbnailProvider UnitTests-QoiThumbnailProvider @@ -14,6 +17,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-StlThumbnailProvider/Preview.StlThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-StlThumbnailProvider/Preview.StlThumbnailProvider.UnitTests.csproj index 36fe2bd908..c7f37453fd 100644 --- a/src/modules/previewpane/UnitTests-StlThumbnailProvider/Preview.StlThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-StlThumbnailProvider/Preview.StlThumbnailProvider.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-StlThumbnailProvider PowerToys UnitTests-StlThumbnailProvider UnitTests-StlThumbnailProvider @@ -14,6 +17,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-SvgPreviewHandler/Preview.SvgPreviewHandler.UnitTests.csproj b/src/modules/previewpane/UnitTests-SvgPreviewHandler/Preview.SvgPreviewHandler.UnitTests.csproj index ba5997925f..a49070efa4 100644 --- a/src/modules/previewpane/UnitTests-SvgPreviewHandler/Preview.SvgPreviewHandler.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-SvgPreviewHandler/Preview.SvgPreviewHandler.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-SvgPreviewHandler PowerToys UnitTests-SvgPreviewHandler UnitTests-SvgPreviewHandler @@ -14,6 +17,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe diff --git a/src/modules/previewpane/UnitTests-SvgThumbnailProvider/Preview.SvgThumbnailProvider.UnitTests.csproj b/src/modules/previewpane/UnitTests-SvgThumbnailProvider/Preview.SvgThumbnailProvider.UnitTests.csproj index 0975fbc9e2..09f63b0c5e 100644 --- a/src/modules/previewpane/UnitTests-SvgThumbnailProvider/Preview.SvgThumbnailProvider.UnitTests.csproj +++ b/src/modules/previewpane/UnitTests-SvgThumbnailProvider/Preview.SvgThumbnailProvider.UnitTests.csproj @@ -3,6 +3,9 @@ + true + win-x64 + win-arm64 UnitTests-SvgThumbnailProvider PowerToys UnitTests-SvgThumbnailProvider UnitTests-SvgThumbnailProvider @@ -17,6 +20,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + Exe @@ -43,4 +47,4 @@ - \ No newline at end of file + diff --git a/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj b/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj index 97bb22c486..dbe092c0ad 100644 --- a/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj +++ b/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj @@ -3,6 +3,10 @@ + true + win-x64 + win-arm64 + false false $(RepoRoot)$(Configuration)\$(Platform)\tests\SettingsTests\ @@ -10,6 +14,7 @@ VSTHRD002;VSTHRD110;VSTHRD100;VSTHRD200;VSTHRD101 + Exe diff --git a/src/settings-ui/Settings.UI.UnitTests/ViewModelTests/General.cs b/src/settings-ui/Settings.UI.UnitTests/ViewModelTests/General.cs index 6aeca4b169..56119c790b 100644 --- a/src/settings-ui/Settings.UI.UnitTests/ViewModelTests/General.cs +++ b/src/settings-ui/Settings.UI.UnitTests/ViewModelTests/General.cs @@ -126,10 +126,22 @@ namespace ViewModelTests public void StartupShouldEnableRunOnStartUpWhenSuccessful() { // Assert + bool sawExpectedIpcPayload = false; Func sendMockIPCConfigMSG = msg => { + if (string.IsNullOrWhiteSpace(msg)) + { + return 0; + } + OutGoingGeneralSettings snd = JsonSerializer.Deserialize(msg); + if (snd?.GeneralSettings is null) + { + return 0; + } + Assert.IsTrue(snd.GeneralSettings.Startup); + sawExpectedIpcPayload = true; return 0; }; @@ -150,16 +162,29 @@ namespace ViewModelTests // act viewModel.Startup = true; + Assert.IsTrue(sawExpectedIpcPayload); } [TestMethod] public void RunElevatedShouldEnableAlwaysRunElevatedWhenSuccessful() { // Assert + bool sawExpectedIpcPayload = false; Func sendMockIPCConfigMSG = msg => { + if (string.IsNullOrWhiteSpace(msg)) + { + return 0; + } + OutGoingGeneralSettings snd = JsonSerializer.Deserialize(msg); + if (snd?.GeneralSettings is null) + { + return 0; + } + Assert.IsTrue(snd.GeneralSettings.RunElevated); + sawExpectedIpcPayload = true; return 0; }; @@ -182,6 +207,7 @@ namespace ViewModelTests // act viewModel.RunElevated = true; + Assert.IsTrue(sawExpectedIpcPayload); } [TestMethod] @@ -189,12 +215,24 @@ namespace ViewModelTests { // Arrange GeneralViewModel viewModel = null; + bool sawExpectedIpcPayload = false; // Assert Func sendMockIPCConfigMSG = msg => { + if (string.IsNullOrWhiteSpace(msg)) + { + return 0; + } + OutGoingGeneralSettings snd = JsonSerializer.Deserialize(msg); + if (snd?.GeneralSettings is null) + { + return 0; + } + Assert.AreEqual("light", snd.GeneralSettings.Theme); + sawExpectedIpcPayload = true; return 0; }; @@ -214,17 +252,29 @@ namespace ViewModelTests // act viewModel.ThemeIndex = 1; + Assert.IsTrue(sawExpectedIpcPayload); } [TestMethod] public void IsDarkThemeRadioButtonCheckedShouldThemeToDarkWhenSuccessful() { // Arrange - // Assert + bool sawExpectedIpcPayload = false; Func sendMockIPCConfigMSG = msg => { + if (string.IsNullOrWhiteSpace(msg)) + { + return 0; + } + OutGoingGeneralSettings snd = JsonSerializer.Deserialize(msg); + if (snd?.GeneralSettings is null) + { + return 0; + } + Assert.AreEqual("dark", snd.GeneralSettings.Theme); + sawExpectedIpcPayload = true; return 0; }; @@ -244,17 +294,29 @@ namespace ViewModelTests // act viewModel.ThemeIndex = 0; + Assert.IsTrue(sawExpectedIpcPayload); } [TestMethod] public void IsShowSysTrayIconEnabledByDefaultShouldDisableWhenSuccessful() { // Arrange - // Assert + bool sawExpectedIpcPayload = false; Func sendMockIPCConfigMSG = msg => { + if (string.IsNullOrWhiteSpace(msg)) + { + return 0; + } + OutGoingGeneralSettings snd = JsonSerializer.Deserialize(msg); + if (snd?.GeneralSettings is null) + { + return 0; + } + Assert.IsFalse(snd.GeneralSettings.ShowSysTrayIcon); + sawExpectedIpcPayload = true; return 0; }; @@ -274,6 +336,7 @@ namespace ViewModelTests // Act viewModel.ShowSysTrayIcon = false; + Assert.IsTrue(sawExpectedIpcPayload); } [TestMethod] From 93e80265b80e8e4eaf3be23b73b4c626f38f8674 Mon Sep 17 00:00:00 2001 From: Jeremy Sinclair <4016293+snickler@users.noreply.github.com> Date: Sat, 14 Feb 2026 02:53:04 -0500 Subject: [PATCH 3/4] [Build][Settings] Add CoreTargetFramework Property (#41366) ## Summary of the Pull Request Adds CoreTargetFramework MSBuild property as a way to use the TargetFramework property minus the OS and OS Version. ## PR Checklist - [ ] Closes: #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments Updates `Common.Dotnet.CsWinRT.props` with a `CoreTargetFramework` property. This is then used to form the actual `TargetFramework` property. `Settings.UI.XamlIndexBuilder` was the original catalyst for this PR since it doesn't need Windows SDK targeting, and it didn't make sense to have one project by itself that would manually need its target version updated. ## Validation Steps Performed --------- Co-authored-by: vanzue --- src/Common.Dotnet.CsWinRT.props | 3 ++- .../Settings.UI.XamlIndexBuilder.csproj | 2 +- src/settings-ui/Settings.UI/PowerToys.Settings.csproj | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Common.Dotnet.CsWinRT.props b/src/Common.Dotnet.CsWinRT.props index 63b40dc66a..c3c713c214 100644 --- a/src/Common.Dotnet.CsWinRT.props +++ b/src/Common.Dotnet.CsWinRT.props @@ -4,8 +4,9 @@ + net9.0 10.0.26100.68-preview - net9.0-windows10.0.26100.0 + $(CoreTargetFramework)-windows10.0.26100.0 10.0.19041.0 10.0.19041.0 win-x64;win-arm64 diff --git a/src/settings-ui/Settings.UI.XamlIndexBuilder/Settings.UI.XamlIndexBuilder.csproj b/src/settings-ui/Settings.UI.XamlIndexBuilder/Settings.UI.XamlIndexBuilder.csproj index 91416fc676..9c95839d6f 100644 --- a/src/settings-ui/Settings.UI.XamlIndexBuilder/Settings.UI.XamlIndexBuilder.csproj +++ b/src/settings-ui/Settings.UI.XamlIndexBuilder/Settings.UI.XamlIndexBuilder.csproj @@ -3,7 +3,7 @@ - net9.0 + $(CoreTargetFramework) Exe Microsoft.PowerToys.Tools.XamlIndexBuilder XamlIndexBuilder diff --git a/src/settings-ui/Settings.UI/PowerToys.Settings.csproj b/src/settings-ui/Settings.UI/PowerToys.Settings.csproj index f44fe8315f..e726063b81 100644 --- a/src/settings-ui/Settings.UI/PowerToys.Settings.csproj +++ b/src/settings-ui/Settings.UI/PowerToys.Settings.csproj @@ -208,6 +208,6 @@ - + - \ No newline at end of file + From 3548d5c1a38902b439b688a9faf63d62cafbbeee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pol=C3=A1=C5=A1ek?= Date: Sat, 14 Feb 2026 15:30:51 +0100 Subject: [PATCH 4/4] CmdPal: Add missing resources related to ShortcutControl (#45589) ## Summary of the Pull Request This PR fixes crash when editing keyboard shortcut (missing string resource) and adds another string resource to display a text for un-assigned hotkey. image ## PR Checklist - [x] Closes: #45388 - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed --- .../cmdpal/Microsoft.CmdPal.UI/Strings/en-us/Resources.resw | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Strings/en-us/Resources.resw b/src/modules/cmdpal/Microsoft.CmdPal.UI/Strings/en-us/Resources.resw index da7836861a..996a6202fc 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Strings/en-us/Resources.resw +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Strings/en-us/Resources.resw @@ -795,4 +795,10 @@ Right-click to remove the key combination, thereby deactivating the shortcut.K Keyboard key + + Configure shortcut + + + Assign shortcut + \ No newline at end of file