Skip to content
Discussion options

You must be logged in to vote

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:

  1. Launch the exe
    Process proc = new Process();
    proc.StartInfo.WorkingDirectory = System.IO.Path.Combine (System.IO.Path.GetDirectoryName(aliasPath), "YourExe");
    proc.StartInfo.FileName = "YourExe.exe";
    proc.Start();
  2. Reference your exe in your csproj
    "Content Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'" Include="Platforms\Windows\Assets\YourExe\YourExe.exe" />"

Have a nice day

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@TestTEMV4
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jameslavery
Comment options

Comment options

You must be logged in to vote
1 reply
@jameslavery
Comment options

Answer selected by TestTEMV4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants