-
Hi all, I am searching for a bit of guidance or at least of information about the run full trust process within MAUI. I have used the FullTrustProcessLauncher in Xamarin with success and as I am currently exploring my options with MAUI to one day fully upgrade my Xamarin apps to MAUI, I stumbled on it while trying to implement it on a MAUI project. Here is what I tried so far:
What am i missing here? Am I maybe just a bit early on this with MAUI? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
MAUI is Xamarin, with different name |
Beta Was this translation helpful? Give feedback.
-
Oooops. My bad. |
Beta Was this translation helpful? Give feedback.
-
OK. The com/desktop mistake was definitely part of the problem but it did not solve it entirely. Here is what I have so far in my maui solution:
An yet, the exception is raised: Can somebody give me any suggestion? That process runs with no problem in my xamarin solution. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Hi. Yes, we did find a solution. Here it is: there is no full trust process per se because you can launch any exe you want in a maui app. You just need to:
Have a nice day |
Beta Was this translation helpful? Give feedback.
Hi.
Yes, we did find a solution. Here it is: there is no full trust process per se because you can launch any exe you want in a maui app.
You just need to:
Process proc = new Process();
proc.StartInfo.WorkingDirectory = System.IO.Path.Combine (System.IO.Path.GetDirectoryName(aliasPath), "YourExe");
proc.StartInfo.FileName = "YourExe.exe";
proc.Start();
"Content Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'" Include="Platforms\Windows\Assets\YourExe\YourExe.exe" />"
Have a nice day