日期:2014-05-18  浏览次数:20888 次

关于VS2005使用.net framework3.5的问题
我想在VS2005用.net framework3.5的一些类的方法,例如List<T>的where方法,应该怎么做?我尝试将System.Core.dll引入,而且引入System.Linq命名空间,但是还没能使用该方法.

------解决方案--------------------
2005是用2.0吧。。。
能用3.5么
------解决方案--------------------
2.0 和 3.5还是有很大的区别的,就算2005中引入3.5的dll文件,运用时也还是有问题的,开始我也试了的。但至今不知问题出在哪里
------解决方案--------------------
没试过,记号
看结果如果
------解决方案--------------------
Visual Studio 2005 can only target the .NET 2.0 framework.

If you want to use the .NET 3.5 framework you will need install VS2008.

Here is a link that show the new features in 3.5

http://blogs.msdn.com/trobbins/archive/2007/02/28/microsoft-pre-release-software-visual-studio-code-name-orcas-march-2007-community-technology-preview-ctp.aspx