c# - System.Threading.Task 不工作

标签 c# asp.net

System.Threading.Tasks 在我的项目中不起作用。 我一直在尝试使用所有 DLL 都认为这个错误
我搜索各种代码 但是没有得到任何解决方案

我正在使用 Asp.net 2008 (3.5)

这里显示错误 -

The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading' (are you missing an assembly reference?)

帮帮我 谢谢

最佳答案

此库在 .NET 3.5 中不可用,请确保您在项目属性中以 .NET 4.0 为目标。

引用:http://msdn.microsoft.com/library/system.threading.tasks.aspx

关于c# - System.Threading.Task 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19783983/

相关文章:

c# - 使用 JSON 将继承的对象传递给 WCF 服务

c# - 不使用visual studio制作解决方案文件

c# - 可排序、可拖动、可排序表 + mvc 未正确更新顺序

c# - ASP.NET MVC 2 + jQuery 灯箱 + 登录

c# - 如何在asp.net 网站中选择相对于root 的文件夹?

c# - 如何在服务器标签中使用强类型资源?

c# - asp .net 每天扫描一次文件夹

c# - Asp.Net 下拉菜单无法正常工作

c# - 当我单击 ImageButton (telerik) 时检索行的 ID

c# - Visual C# 2010 命令行参数到 csc