【发布时间】:2013-11-29 13:47:31
【问题描述】:
我正在尝试使用 Mono 编译一个使用 TPL for linux 的 C# 应用程序。该应用程序是使用 VS 在 Windows 上构建的。我正在尝试通过 gmcs 编译 cs 类。但是我收到了这个错误:
gmcs Main.cs FileUtil.cs BH.cs
BH.cs(6,24): error CS0234: The type or namespace name `Tasks' does not exist in the
namespace `System.Threading'. Are you missing an assembly reference?
Main.cs(17,24): error CS0234: The type or namespace name `Tasks' does not exist in the
namespace `System.Threading'. Are you missing an assembly reference?
BH.cs(6,24): error CS0234: The type or namespace name `Tasks' does not exist in the
namespace `System.Threading'. Are you missing an assembly reference?
Compilation failed: 3 error(s), 0 warnings
有什么建议吗?
【问题讨论】:
标签: c# compiler-errors mono gmcs