我是 mono 和 C# 的新手,所以这可能是一个简单的问题,但我找不到答案。 我需要在我的 mac 上编译一个 C# visual studio 控制台应用程序。我认为单声道适合这个目的。我不知道要编译哪个文件并采用了 program.cs(我的主要功能所在的位置)或者我应该编译 Project.csproj。 当我运行时
gmcs Program.cs
我明白了
Program.cs(17,16): error CS0246: The type or namespace name `Oplossing' could not be found. Are you missing an assembly reference?
Program.cs(129,54): error CS0246: The type or namespace name `Order' could not be found. Are you missing an assembly reference?
我应该如何编译?
最佳答案
通过xbuild,你应该可以直接编译csproj,
关于c# - 在单声道 (mac) 中编译 C# visual studio 控制台应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14788223/