We're new to linux development, and we're porting our application to run on Mono on Linux. I use Visual Studio on my Windows PC and deploy on a VirtualBox Linux VM with OpenSuse 11.1. But copying the app from windows to my linux VM it's a tedious process, so I'm testing out the Mono Tools for Visual Studio.
Our application uses the serial port to communicate with an external embedded device, and from what I've seen, in order to have access to the serial port, it needs Administrator privileges. In a terminal window I can use the "su" command before entering "mono myapp.exe" and I can get access to the serial port (kinda... I can send data but I cant receive it, that's another story). But when I'm using Mono Tools for Visual Studio, and run my app remotely from visual studio it doesn't have administrator privileges, so I can't get access to the serial port... is there a way of making this work? Is there a way I can make my app request administrator privileges like, for example, Yast does when you run it showing you this prompt for the root password: http://n4.nabble.com/file/n2220493/sudo.png -- View this message in context: http://mono.1490590.n4.nabble.com/Administrator-privileges-for-my-App-when-running-from-MonoVS-tp2220493p2220493.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
