我们可以在3.5中为System.Threading.Tasks(4.0)使用的内容 [英] What we can Use in 3.5 for System.Threading.Tasks (4.0)

查看:320
本文介绍了我们可以在3.5中为System.Threading.Tasks(4.0)使用的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参考此链接.

用于使用示例对SQL Server数据库对象进行脚本编写的库 [

Please refer this link .

Library for scripting SQL Server database objects with examples[^]

i m working with .C# 3.0 i m try to use the above article code in .net 3.5 but the above code is developed on 4.0 so i m getting error.


Error	The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading' (are you missing an assembly reference?)	D:\UseFulltools\DBScripter_Src\DBDocumentation\Main.cs	4	11	24



您能帮我吗?



can you plz help me .

推荐答案

据我所知,没有办法做到这一点. (除非您具有Tasks的完整源代码:-.)此库在.NET 3.5中根本不可用.顺便说一下,C#的版本根本没有关系.

您需要安装.NET Framework v.4.0,仅此而已.它需要XP或更高版本的Windows.如果没有VS 2010,该如何进行开发?好吧,您可以使用1)免费的Visual Studio Express 2010(
http://en.wikipedia.org/wiki/Visual_Studio_Express [ ^ ],http://www.microsoft.com/express/Windows/ [ http://en.wikipedia.org/wiki/SharpDevelop [ http://sharpdevelop .com/ [ ^ ]),3)在没有IDE的情况下进行开发或创建您的自己的IDE — C#编译器始终与.NET Framework捆绑在一起(可自由重新分发).

-SA
To best of my knowledge, there is no a way to do it. (Unless you have a full source code of Tasks :-).) This library is simply not available in .NET 3.5. By the way, the version of C# does not matter at all.

You need to install .NET Framework v.4.0, that''s it. It requires XP or later version of Windows. How to do development if you don''t have VS 2010? Well, you can use 1) free-of-charge Visual Studio Express 2010 (http://en.wikipedia.org/wiki/Visual_Studio_Express[^], http://www.microsoft.com/express/Windows/[^]); 2) SharpDevelop (http://en.wikipedia.org/wiki/SharpDevelop[^], http://sharpdevelop.com/[^]), 3) develop without IDE or create your own IDE — C# compiler is always bundled with .NET Framework (freely re-distributable).

—SA


http: //www.microsoft.com/download/zh-CN/details.aspx?id=24940 [
http://www.microsoft.com/download/en/details.aspx?id=24940[^]

i downloded rx for 3.5 and its solved my problem


这篇关于我们可以在3.5中为System.Threading.Tasks(4.0)使用的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆