I am building a .NET MAUI app that is capable of creating registry keys and running C# methods from a reg command (Windows only).
The .NET MAUI app has to work as a GUI for installing different groups of context menu commands.
I have achieved this by creating different console app projects for each different command, copying the compiled EXE files to a local folder on group install, and executing the EXE files when the user clicks an option in the context menu.
This is functional, yet very inefficient.
Is there any way to execute a method in the installed .NET MAUI app from regedit?
This way there is no need for several console app projects, and copying the compiled EXE to the computer.
Being able to execute a specific method from a console application would also be useful since I could compile a single console app that contains all the methods.
Thanks in advance.