简体   繁体   中英

Run MonDevelop gtk# program without mono runtime terminal showing - Ubuntu

When I compile my gtk# project with MonoDevelop, it creates the files and puts them in /bin/Release just as it should. But when I double click on the program, it shows the mono runtime terminal in the background. I want to be able to open my program without the runtime terminal showing as well. Is there anyway to accomplish this?

Note: This program is made only for use in Ubuntu.

I think it's not the best way to double click on Mono assemblies on Linux..

You can try creating a simple executable script like this:

#!/bin/bash
mono /path/to/executable.exe

Give it the executable permission, than try to execute it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM