Can I write for .Net 4 using VS2008?

Is it possible to write code with .Net 4 and its libraries using VS2008? If so, how do you set it up?

I understand that VS2008 will probably struggle with language changes like the dynamic keyword, but can I install version 4 and customize it? My only real interest is in being able to use some of the newer libraries, in particular I'm interested in TPL ( http://en.wikipedia.org/wiki/Parallel_Extensions )

+2


a source to share


5 answers


I'm not afraid not :( its 2010 or nothing, it will work backwards, but not forward. Thus, 2010 will run all previous versions of the framework, but not vice versa.



My only offer is the 2010 Express Edition

+2


a source


If you want to use Parallel Extensions in Visual Studio 2008, they are still available for .NET 3.5 in the Reactive Framework , which can be downloaded here:



http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx

+2


a source


Technically, you can use Visual Studio to write code and use the command line 4.0 compiler to compile with .Net 4.0. It would be like using Notepad ++ or some other coding software.

This way you can still use Intellisense. But you will have to deal with errors and you will not be able to run or debug with Visual Studio.

But it will be a real PITA. I suggest you get the Express Edition 2010 .

+1


a source


No, you cannot. You can always try SharpDevelop 4 (beta).

0


a source


You cannot do this, but you can get the full version of VS 2010 (as well as SQL 2008) if you enroll in the Spark for Microsoft Spark program. The conditions are good enough for individual developers who have no capital and no company. See here:

http://www.microsoft.com/web/websitespark/

0


a source







All Articles