Mono console application is opened using wine unless launched with the mono command

Hi, im currently working on a C# Project and whenever I launch the project using

./myproject
it uses wine to launch the application which is not only slow but might not give appropriate results
launching the program with
mono myproject is what I want, but I would much rather not need to type mono, would anyone know of a solution to this problem of mine?

Posted Aug 3, 2022, 3:06 AM UTC

14
[deleted]•

[deleted]

4
pixelkingliamOP•

This seems like a half-decent solution, thank you for the answer!

1
lepus-parvulus•

alias myproject="mono ./myproject"

3
pixelkingliamOP•

sure this could work, but i would much rather a solution that would affect all mono app, as this is not the only mono/.net application i have on my system, thanks for the answer!

1
lepus-parvulus•

I would uninstall wine. Not many programs work with it. Maybe you could try:

alias wine='mono'
alias realwine='\wine'
0