[Mono-dev] Manifest file with mono in order to run apps in Administrator

Robert Jordan robertj at gmx.net
Tue Feb 14 14:49:23 UTC 2012


On 13.02.2012 21:46, Nixeus wrote:
> Hello,
>
> I have created a little C# apps with MonoDevelop that needs Administrator
> privileges.
> I know that it's possible to force running as administrator with a manifest
> file embedded with :
>
>     <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
>
> This work with Visual Studio, nevertheless i use mono + MonoDevelop .
> Do you know how doing this in MonoDevelop please ?

I don't think MD is supporting embedded manifests.

However, the manifest does not need to be embedded.
E.g., if you app's executable file name is "app.exe",
its manifest is called "app.manifest".

Robert



More information about the Mono-devel-list mailing list