我输入这个命令
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?我明白,我必须给它路径和一切,但是怎么做?找不到办法
发布于 2015-06-02 13:41:58
gmcs以.NET 2.0配置文件为目标,那时任务并不存在。
在最近的Mono上,只需使用mcs作为gmcs不受欢迎,并从Mono4.0中删除。
https://stackoverflow.com/questions/30584636
复制相似问题