Question

Possible Duplicate:
Can I use .NET 4.0 beta in Visual Studio 2008?

I have VS 2008 professional, and yesterday installed .net 4.0 Beta 1 (without vs2010). I want to try parallel Fx lib, but I don't know how to add .net 4.0 references. It is possible to use 4.0 version without visual studio 2010?

Was it helpful?

OTHER TIPS

You should be able to use it from the command line, yes.

I seem to remember that a lot of Parallel Extensions is now in mscorlib or System.Core, so you probably don't need to add any references...

For example, this just compiled without anything else:

using System;
using System.Threading.Tasks;

public class Test
{
    static void Main()
    {
        Task<int> task = Task.Factory.StartNew(() => 10);
        Console.WriteLine(task.Result);
    }
}

You can use the compilers (like csc.exe or vbc.exe) directly. They should be installed at: C:\Windows\Microsoft.NET\Framework\v4.0 or something close to that.

But if you want to do 4.0 development in Visual Studio, you'll probably need to install VS 2010.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top