【发布时间】:2012-05-28 21:11:46
【问题描述】:
ISet Interface 在 Mono 中可用吗?好像没找到。
编辑:在 MonoDevelop 中将 Target Framework 设置为 4.0 后,我仍然收到错误消息:
错误 CS0246:找不到类型或命名空间名称 ISet。是 您缺少 using 指令或程序集引用?
任何使用 Mono 的人都可以确认ISet 是否适合他们吗?
【问题讨论】:
-
您必须以 framework 4.0 为目标,
ISet接口才可用。 -
我该怎么做?我正在使用 monodevelop 仅供参考。
-
我刚刚将我的项目设置为指向 .NET - 但我仍然收到
...: Error CS0246: The type or namespace name ISet could not be found. Are you missing a using directive or an assembly reference? (CS0246) (FooBar.API) -
首先你必须在 MonoDevelop 中定位 4.0 或更新的框架,其次检查你在项目引用中有系统程序集。
-
“检查您在项目引用中有系统程序集” - 我该怎么做?