如何从 mac 命令行 运行 一个 visual studio 项目?

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

我有一个生成 exe 文件的 visual studio 项目。我可以从 Visual Studio 社区 Mac 中 运行 这个项目,只需单击 运行 发布或调试配置即可。

我需要能够从命令行执行此操作。我试过使用 wine 但它会引发我在 VSC 中从未见过的异常​​。

感谢@Lex Li!

解决方法是打开一个终端然后运行

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