Can I use Async CTP with .NET 3.0?

327 views Asked by At

Can I use new AsyncCtpLibrary.dll with .NET 3.0? If I add this library in References, will it work? I need to use async/await/task functions in a new project.

1

There are 1 answers

0
PHeiberg On

The Async CTP builds upon Task Parallel Library (TPL) that's part of the 4.0 framework, so it's not usable with the 3.0 version of the framework.

In order to compile Async CTP code you need to install the Async CTP, because the compiler is replaced with a new compiler version capable of using the new async keywords. In order to use compiled Async CTP code it should be enough with the dlls.