Search code examples
visual-studio-mac

How can I run a visual studio project from the mac command line?


I have a visual studio project that generates an exe file. I can run this project from within Visual Studio Community for Mac simply by clicking Run for the Release or Debug configurations.

I need to be able to do this from the command line. I've tried using wine but it throws exceptions that I never see in VSC.


Solution

  • Thanks @Lex Li!

    The solution is to open a terminal and run

    mono <path to your app> <your app's arguments>