2022-04-19 22:00:28 +02:00
<Project Sdk= "Microsoft.NET.Sdk" >
2024-08-09 09:18:56 -07:00
<!-- Look at Directory.Build.props in root for common stuff as well -->
<Import Project= "..\..\Common.Dotnet.CsWinRT.props" />
<Import Project= "..\..\Common.SelfContained.props" />
2024-08-05 14:29:11 -07:00
2022-04-19 22:00:28 +02:00
<PropertyGroup >
<OutputType > WinExe</OutputType>
<RootNamespace > Microsoft.PowerToys.Settings.UI</RootNamespace>
<ApplicationManifest > app.manifest</ApplicationManifest>
<UseWinUI > true</UseWinUI>
<EnablePreviewMsixTooling > true</EnablePreviewMsixTooling>
<WindowsPackageType > None</WindowsPackageType>
<AppendTargetFrameworkToOutputPath > false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath > false</AppendRuntimeIdentifierToOutputPath>
2023-07-20 00:12:46 +01:00
<ApplicationIcon > Assets\Settings\icon.ico</ApplicationIcon>
2022-06-07 09:58:32 +01:00
<WindowsAppSDKSelfContained > true</WindowsAppSDKSelfContained>
2022-04-20 21:24:36 +01:00
<!-- OutputPath looks like this because it has to be called both by settings and publish.cmd -->
2023-07-20 00:12:46 +01:00
<OutputPath > ..\..\..\$(Platform)\$(Configuration)\WinUI3Apps</OutputPath>
<!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
<ProjectPriFileName > PowerToys.Settings.pri</ProjectPriFileName>
2022-12-14 13:37:23 +01:00
</PropertyGroup>
2024-05-09 10:32:03 -04:00
<ItemGroup >
<None Remove= "Assets\Settings\Modules\APDialog.dark.png" />
<None Remove= "Assets\Settings\Modules\APDialog.light.png" />
</ItemGroup>
2023-07-20 00:12:46 +01:00
<ItemGroup >
<Page Remove= "SettingsXAML\App.xaml" />
</ItemGroup>
<ItemGroup >
<ApplicationDefinition Include= "SettingsXAML\App.xaml" />
</ItemGroup>
2024-08-09 09:18:56 -07:00
2024-01-03 07:43:42 -08:00
2022-10-26 14:02:31 +01:00
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp - winrt/net - projection - from - cppwinrt - component for more info -->
<PropertyGroup >
2025-01-16 20:52:24 +00:00
<CsWinRTIncludes > PowerToys.GPOWrapper;PowerToys.ZoomItSettingsInterop</CsWinRTIncludes>
2022-10-26 14:02:31 +01:00
<CsWinRTGeneratedFilesDir > $(OutDir)</CsWinRTGeneratedFilesDir>
<ErrorOnDuplicatePublishOutputFiles > false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
2023-01-31 00:00:11 +01:00
<ItemGroup >
2023-07-20 00:12:46 +01:00
<Content Include= "Assets\Settings\SplashScreen.scale-200.png" />
<Content Include= "Assets\Settings\LockScreenLogo.scale-200.png" />
<Content Include= "Assets\Settings\Square150x150Logo.scale-200.png" />
<Content Include= "Assets\Settings\Square44x44Logo.scale-200.png" />
<Content Include= "Assets\Settings\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include= "Assets\Settings\StoreLogo.png" />
<Content Include= "Assets\Settings\Wide310x150Logo.scale-200.png" />
2022-04-19 22:00:28 +02:00
</ItemGroup>
<ItemGroup >
2024-11-26 15:37:59 +00:00
<EmbeddedResource Include= "Images\MouseJump-Desktop.png" />
</ItemGroup>
<ItemGroup >
<PackageReference Include= "CommunityToolkit.WinUI.Controls.Segmented" />
2023-09-14 18:41:31 +02:00
<PackageReference Include= "CommunityToolkit.WinUI.Controls.SettingsControls" />
<PackageReference Include= "CommunityToolkit.WinUI.Controls.Primitives" />
<PackageReference Include= "CommunityToolkit.WinUI.Animations" />
<PackageReference Include= "CommunityToolkit.WinUI.Extensions" />
<PackageReference Include= "CommunityToolkit.WinUI.Converters" />
<PackageReference Include= "CommunityToolkit.WinUI.UI.Controls.Markdown" />
2023-02-13 12:10:33 -05:00
<PackageReference Include= "WinUIEx" />
2024-10-22 19:02:38 +01:00
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
<PackageReference Include= "MessagePack" />
2023-02-13 12:10:33 -05:00
<PackageReference Include= "Microsoft.WindowsAppSDK" />
<PackageReference Include= "Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include= "Microsoft.Xaml.Behaviors.WinUI.Managed" />
2023-05-15 23:32:26 +01:00
<PackageReference Include= "StreamJsonRpc" />
2023-07-20 00:12:46 +01:00
<!-- HACK: Microsoft.Extensions.Hosting is referenced, even if it is not used, to force dll versions to be the same as in other projects. Really only needed since the Experimentation APIs that are added in CI reference some net standard 2.0 assemblies. -->
<PackageReference Include= "Microsoft.Extensions.Hosting" />
2024-07-16 16:17:53 +01:00
<!-- HACK: To make sure the version pulled in by Microsoft.Extensions.Hosting is current. -->
<PackageReference Include= "System.Text.Json" />
2022-04-19 22:00:28 +02:00
<Manifest Include= "$(ApplicationManifest)" />
</ItemGroup>
<!-- Defining the "Msix" ProjectCapability here allows the Single - project MSIX Packaging
Tools extension to be activated for this project even if the Windows App SDK Nuget
package has not yet been restored -->
2024-01-03 07:43:42 -08:00
2022-04-19 22:00:28 +02:00
<ItemGroup Condition= "'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnablePreviewMsixTooling)'=='true'" >
<ProjectCapability Include= "Msix" />
</ItemGroup>
2024-01-03 07:43:42 -08:00
2022-04-19 22:00:28 +02:00
<ItemGroup >
2023-07-20 00:12:46 +01:00
<!-- HACK: Common.UI is referenced, even if it is not used, to force dll versions to be the same as in other projects that use it. It's still unclear why this is the case, but this is need for flattening the install directory. -->
<ProjectReference Include= "..\..\common\Common.UI\Common.UI.csproj" />
2023-02-14 18:38:53 -08:00
<ProjectReference Include= "..\..\common\AllExperiments\AllExperiments.csproj" />
2022-10-26 14:02:31 +01:00
<ProjectReference Include= "..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
2023-03-21 17:43:15 +08:00
<ProjectReference Include= "..\..\common\interop\PowerToys.Interop.vcxproj" />
2025-01-16 20:52:24 +00:00
<ProjectReference Include= "..\..\modules\ZoomIt\ZoomItSettingsInterop\ZoomItSettingsInterop.vcxproj" />
2022-04-19 22:00:28 +02:00
<ProjectReference Include= "..\..\common\ManagedCommon\ManagedCommon.csproj" />
<ProjectReference Include= "..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
2024-11-26 15:37:59 +00:00
<ProjectReference Include= "..\..\modules\MouseUtils\MouseJump.Common\MouseJump.Common.csproj" />
2022-04-19 22:00:28 +02:00
<ProjectReference Include= "..\Settings.UI.Library\Settings.UI.Library.csproj" />
</ItemGroup>
2024-01-03 07:43:42 -08:00
2023-05-15 23:32:26 +01:00
<PropertyGroup >
<!-- TODO: fix issues and reenable -->
<!-- These are caused by streamjsonrpc dependency on Microsoft.VisualStudio.Threading.Analyzers -->
<!-- We might want to add that to the project and fix the issues as well -->
<NoWarn > VSTHRD002;VSTHRD110;VSTHRD100;VSTHRD200;VSTHRD101</NoWarn>
</PropertyGroup>
2024-01-05 09:26:49 +00:00
<ItemGroup >
<None Update= "Assets\Settings\icon.ico" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
</ItemGroup>
2024-01-03 07:43:42 -08:00
2024-01-05 09:26:49 +00:00
<ItemGroup >
<None Update= "Assets\Settings\Scripts\CheckCmdNotFoundRequirements.ps1" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
<None Update= "Assets\Settings\Scripts\InstallWinGetClientModule.ps1" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
<None Update= "Assets\Settings\Scripts\InstallPowerShell7.ps1" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
<None Update= "Assets\Settings\Scripts\EnableModule.ps1" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
<None Update= "Assets\Settings\Scripts\DisableModule.ps1" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
</ItemGroup>
2024-01-03 07:43:42 -08:00
[New Module] Workspaces (#34324)
* spell checker
* Adding OOBE Projects page
* changed the default hotkey
* module interface
* rename projects editor
* bug report tool
* installer
* gpo
* exit event constant
* extend search for projects by search over the containing apps' names
* [Projects] fix grammatical issue #43 (1 app - many apps)
* [Projects] Editor: Main page: fix layout if there are many apps, launch button not disappearing on the right side
* dsc
* github
* pipeline
* guid prefix
* [Projects] fixing general settings gpo handling in runner + minor changes
* arm build fix
* Do not allow saving project if name or applist is empty. Also minor UI changes
* version
* editor version
* spellcheck
* editor dll signing
* update projects names to filter them out
* shortcut saving fix
* [Projects] Editor: brining the highlighted app's icon into the foreground. + minor UI fixes
* spell checker
* spellcheck
* [Projects] re-implementing icon size calculation to have similar sized icons for every app.
* [projects] Adding info message for cases: there are no projects or no results for the search
* [Projects] Adding Edit button to the popup. + minor changes
* [Projects] Making popup having rounded corners
* changed "no projects" text color and position
* remove opening the first proj
* fix placing windows of the same app in the project
* [Projects] bringing back the breadcrumb on the editor page. Make it clickable.
* [Projects] optimizing click handlers
* [Projects] Removing not selected apps on save
* moved on thread executor to common
* moved display utils
* added convert rect
* unsigned monitor number
* set awareness
* app placement
* [Projects] Re-implementing preview drawing - one common image
* [Projects] fix boundary calculation, use DPI aware values
* fix launching with command line args
* Fix ARM64 CI build
* launch packaged apps using names when possible
* spell-check
* update packaged apps path
* projects editor single instance
* [Projects] Add Select all checkbox, Delete selected button
* Add Checkbox for per monitor selection
* modifying highlight in preview
* spell checker
* logs
* exclude help windows
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/49
* Add intermediate step to project creation
* minor bugfix
* mutex fix
* modifying highlight for minimized apps
* Fixing bug: re-draw the preview on app deletion in the editor
* Adding helper class for getting the right bounds for screens
* spell checker
* spell checker
* Minor fixes in the capture dialog
* get dpi unaware screen bounds
* refactoring: added utils
* changed window filter
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/2
* clean up
* refactoring
* projects common lib
* localizable default project prefix
* launcher resources
* clean up
* change snapshot project saving
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* changed project data
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* changed project creation save-cancel handles
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* spell-check
* Remove checkboxes, delete feature
* remove unused from the project
* get command line args in the snapshot
* minimized settings snap fix
* set window property after launching
* FZ: ignore projects launched windows
* Implementing major new features: remove button, position manipulation, arguments, admin, minimized, maximized
* modifying colors
* launcher project filters
* clean up
* Hide Admin checkbox
* hide WIP
* spell-check
* Revert "Hide Admin checkbox"
This reverts commit 3036df9d7fe48de6418b0ebeff6422d535cb25e2.
* get app elevated property
* Implementing Launch and Edit feature
* fixing: update of listed projects on the main page after hitting save in editor
* Fix for packaged app's icons
* fixing scroll speed issue
* change scroll speed to 15
* launch elevated apps
* minor fixes
* minor fix
* enhancing shortcut handling
* can-launch-elevated check
* projects module interface telemetry
* Implementing store of setting "order by".
* minor string correction
* moved projects data parsing
* telemetry
* add move apps checkbox
* notification about elevated apps
* restart unelevated
* move existing windows
* keep opened windows at the same positions
* handle powertoys settings
* use common theme
* fix corrupted data: project id and monitor id
* project launch on "launch and edit"
* clean up
* show screen numbers instead of monitor names
* launcher error messages
* fix default shortcut
* Adding launch button to projects settings, dashboard and flyout
* Adding new app which is launched when launching a project. It shows the status of the launch process
* spell checker
* Renaming Projects to App Layouts. Replacing only string values, not the variable names
* Re-ordering modules after Renaming Projects + spell checker
* setting window size according to the screen (making it bigger)
* commenting out feature "move apps if exist"
* spell checker
* Add ProjectsLauncherUI to signing
* opening apps in minimized state which are placed on a monitor, which is not found at the moment of launching
* consistent file name
* removed unused sln
* telemetry: create event
* WindowPosition comparison
* telemetry: edit event
* fix muted Launch as admin checkbox
* telemetry: delete event
* updated Edit telemetry event
* added invoke point to launcher args
* added utils
* parse invoke point
* replaced tuple with struct
* telemetry: launch event
* MonitorRect comparison
* resources
* rename: folders
* remove outdated
* rename: window property
* rename: files and folders
* rename: common data structures
* rename: telemetry namespace
* rename: workspaces data
* rename ProjectsLib -> WorkspacesLib
* rename: gpo
* rename: settings
* rename: launcher UI
* rename: other
* rename: pt run
* rename: fz
* rename: module interface
* rename: icon
* rename: snapshot tool
* rename: editor
* rename: common files
* rename: launcher
* rename: editor resources
* fix empty file crash
* rename: json
* rename: module interface
* fix custom actions build
* added launch editor event constant
* xaml formatting
* Add missing method defition to interop::Constants idl
Remove Any CPU config
* more .sln cleanup
* [Run][PowerToys] Fix Workspaces utility (#34336)
polished workspaces utility
* build fix - align CppWinRT version
* address PR comment: fix isdigit
* indentation
* address PR comment: rename function
* address PR comment: changed version for workspaces and revision
* added supported version definition
* addressPR comment: use BringToForeground
* address PR comments: updated projects
* address PR comment: uncomment gpo in settings
* address PR comment: rename oobe view
* update OOBE image with current module name
* moved AppUtils
* launching with AppUserModel.ID
* fixed module order in settings
* fix xaml formatting
* [Workspaces] Close launcher if there are failed launches. Plus adding new spinner gif
* fix topmost LauncherUI
* clean up
* UI closing
* BugReportTool - omit cmd arg data
* Delete icon on workspace removal
* Adding cancellation to launcher UI.
* reordered launching
* fix terminating UI
* Removing old shortcut on workspace renaming
* Sentence case labels
* get process path without waiting
* comment out unused
* remove unused argument
* logs
* New icon
* fix launch and edit for the new project
* fix launch and edit: save new project
* Update exe icons
---------
Co-authored-by: donlaci <laszlo@janeasystems.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
Co-authored-by: Davide Giacometti <davide.giacometti@outlook.it>
Co-authored-by: Niels Laute <niels.laute@live.nl>
2024-08-23 09:28:13 +02:00
<ItemGroup >
<Page Update= "SettingsXAML\OOBE\Views\OobeWorkspaces.xaml" >
<XamlRuntime > $(DefaultXamlRuntime)</XamlRuntime>
</Page>
2024-11-26 15:37:59 +00:00
<Page Update= "SettingsXAML\Panels\MouseJumpPanel.xaml" >
<XamlRuntime > $(DefaultXamlRuntime)</XamlRuntime>
</Page>
[New Module] Workspaces (#34324)
* spell checker
* Adding OOBE Projects page
* changed the default hotkey
* module interface
* rename projects editor
* bug report tool
* installer
* gpo
* exit event constant
* extend search for projects by search over the containing apps' names
* [Projects] fix grammatical issue #43 (1 app - many apps)
* [Projects] Editor: Main page: fix layout if there are many apps, launch button not disappearing on the right side
* dsc
* github
* pipeline
* guid prefix
* [Projects] fixing general settings gpo handling in runner + minor changes
* arm build fix
* Do not allow saving project if name or applist is empty. Also minor UI changes
* version
* editor version
* spellcheck
* editor dll signing
* update projects names to filter them out
* shortcut saving fix
* [Projects] Editor: brining the highlighted app's icon into the foreground. + minor UI fixes
* spell checker
* spellcheck
* [Projects] re-implementing icon size calculation to have similar sized icons for every app.
* [projects] Adding info message for cases: there are no projects or no results for the search
* [Projects] Adding Edit button to the popup. + minor changes
* [Projects] Making popup having rounded corners
* changed "no projects" text color and position
* remove opening the first proj
* fix placing windows of the same app in the project
* [Projects] bringing back the breadcrumb on the editor page. Make it clickable.
* [Projects] optimizing click handlers
* [Projects] Removing not selected apps on save
* moved on thread executor to common
* moved display utils
* added convert rect
* unsigned monitor number
* set awareness
* app placement
* [Projects] Re-implementing preview drawing - one common image
* [Projects] fix boundary calculation, use DPI aware values
* fix launching with command line args
* Fix ARM64 CI build
* launch packaged apps using names when possible
* spell-check
* update packaged apps path
* projects editor single instance
* [Projects] Add Select all checkbox, Delete selected button
* Add Checkbox for per monitor selection
* modifying highlight in preview
* spell checker
* logs
* exclude help windows
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/49
* Add intermediate step to project creation
* minor bugfix
* mutex fix
* modifying highlight for minimized apps
* Fixing bug: re-draw the preview on app deletion in the editor
* Adding helper class for getting the right bounds for screens
* spell checker
* spell checker
* Minor fixes in the capture dialog
* get dpi unaware screen bounds
* refactoring: added utils
* changed window filter
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/2
* clean up
* refactoring
* projects common lib
* localizable default project prefix
* launcher resources
* clean up
* change snapshot project saving
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* changed project data
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* changed project creation save-cancel handles
https://github.com/JaneaSystems/PowerToys-DevProjects/issues/14
* spell-check
* Remove checkboxes, delete feature
* remove unused from the project
* get command line args in the snapshot
* minimized settings snap fix
* set window property after launching
* FZ: ignore projects launched windows
* Implementing major new features: remove button, position manipulation, arguments, admin, minimized, maximized
* modifying colors
* launcher project filters
* clean up
* Hide Admin checkbox
* hide WIP
* spell-check
* Revert "Hide Admin checkbox"
This reverts commit 3036df9d7fe48de6418b0ebeff6422d535cb25e2.
* get app elevated property
* Implementing Launch and Edit feature
* fixing: update of listed projects on the main page after hitting save in editor
* Fix for packaged app's icons
* fixing scroll speed issue
* change scroll speed to 15
* launch elevated apps
* minor fixes
* minor fix
* enhancing shortcut handling
* can-launch-elevated check
* projects module interface telemetry
* Implementing store of setting "order by".
* minor string correction
* moved projects data parsing
* telemetry
* add move apps checkbox
* notification about elevated apps
* restart unelevated
* move existing windows
* keep opened windows at the same positions
* handle powertoys settings
* use common theme
* fix corrupted data: project id and monitor id
* project launch on "launch and edit"
* clean up
* show screen numbers instead of monitor names
* launcher error messages
* fix default shortcut
* Adding launch button to projects settings, dashboard and flyout
* Adding new app which is launched when launching a project. It shows the status of the launch process
* spell checker
* Renaming Projects to App Layouts. Replacing only string values, not the variable names
* Re-ordering modules after Renaming Projects + spell checker
* setting window size according to the screen (making it bigger)
* commenting out feature "move apps if exist"
* spell checker
* Add ProjectsLauncherUI to signing
* opening apps in minimized state which are placed on a monitor, which is not found at the moment of launching
* consistent file name
* removed unused sln
* telemetry: create event
* WindowPosition comparison
* telemetry: edit event
* fix muted Launch as admin checkbox
* telemetry: delete event
* updated Edit telemetry event
* added invoke point to launcher args
* added utils
* parse invoke point
* replaced tuple with struct
* telemetry: launch event
* MonitorRect comparison
* resources
* rename: folders
* remove outdated
* rename: window property
* rename: files and folders
* rename: common data structures
* rename: telemetry namespace
* rename: workspaces data
* rename ProjectsLib -> WorkspacesLib
* rename: gpo
* rename: settings
* rename: launcher UI
* rename: other
* rename: pt run
* rename: fz
* rename: module interface
* rename: icon
* rename: snapshot tool
* rename: editor
* rename: common files
* rename: launcher
* rename: editor resources
* fix empty file crash
* rename: json
* rename: module interface
* fix custom actions build
* added launch editor event constant
* xaml formatting
* Add missing method defition to interop::Constants idl
Remove Any CPU config
* more .sln cleanup
* [Run][PowerToys] Fix Workspaces utility (#34336)
polished workspaces utility
* build fix - align CppWinRT version
* address PR comment: fix isdigit
* indentation
* address PR comment: rename function
* address PR comment: changed version for workspaces and revision
* added supported version definition
* addressPR comment: use BringToForeground
* address PR comments: updated projects
* address PR comment: uncomment gpo in settings
* address PR comment: rename oobe view
* update OOBE image with current module name
* moved AppUtils
* launching with AppUserModel.ID
* fixed module order in settings
* fix xaml formatting
* [Workspaces] Close launcher if there are failed launches. Plus adding new spinner gif
* fix topmost LauncherUI
* clean up
* UI closing
* BugReportTool - omit cmd arg data
* Delete icon on workspace removal
* Adding cancellation to launcher UI.
* reordered launching
* fix terminating UI
* Removing old shortcut on workspace renaming
* Sentence case labels
* get process path without waiting
* comment out unused
* remove unused argument
* logs
* New icon
* fix launch and edit for the new project
* fix launch and edit: save new project
* Update exe icons
---------
Co-authored-by: donlaci <laszlo@janeasystems.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
Co-authored-by: Davide Giacometti <davide.giacometti@outlook.it>
Co-authored-by: Niels Laute <niels.laute@live.nl>
2024-08-23 09:28:13 +02:00
<Page Update= "SettingsXAML\Views\WorkspacesPage.xaml" >
<XamlRuntime > $(DefaultXamlRuntime)</XamlRuntime>
</Page>
</ItemGroup>
2023-10-20 16:28:07 +02:00
</Project>