how to make an executable file targeting macOS which is simple console app written in c#?

220 Views Asked by At

I want to make an executable file targeting macOS that runs without the need for a mono framework or other runtimes for it to run. The executable file that I want to create is written in C# using visual studio for Mac. I managed to build it with mkbundle, it runs on my system of macOS but when a run it on another Mac without mono runtime it ends with this error:

Unhandled exception.... but the console app I made runs without problem on my Mac...

can anyone help me?

0

There are 0 best solutions below