Create a MAUI application that lives in the system tray (Windows)

Sanket Vinod Solanki 30 Reputation points
2023-03-08T05:03:30.4633333+00:00

Hi,

We want to create an application that essentially lives in the system tray.

When a user wants to do something, they right-click on the icon, choose what they want to do from the context menu of system tray, and that starts the GUI with the choice they made.

If the user closes the GUI, the system tray application stays running.

We cannot easily figure out how to do that in MAUI.

Please suggest on this.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,705 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 68,081 Reputation points
    2023-11-18T21:13:51.63+00:00

    You create separate windows tray application. This application would start the GUI app when required.


1 additional answer

Sort by: Most helpful
  1. Alessandro Caliaro 4,186 Reputation points
    2023-03-08T05:07:27.68+00:00

    It seems that WinUI App could not work in background,

    Here a post

    https://github.com/microsoft/microsoft-ui-xaml/issues/6723

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.