我输入这个命令
gmcs -t:library Program.cs
并得到这个错误
Program.cs(6,14): error CS0234: The type or namespace name `Tasks' does not exist in the namespace `System.Threading'. Are you missing an assembly reference?
我知道我必须给它路径和一切,但是如何?找不到方法
gmcs 针对 .NET 2.0 配置文件,Task 当时不存在。
在最近的 Mono 上只使用 mcs,因为gmcs 已被弃用并从 Mono 4.0 中删除。