user1181973
user1181973

Reputation: 99

Can I use Async CTP with .NET 3.0?

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.

Upvotes: 0

Views: 319

Answers (1)

PHeiberg
PHeiberg

Reputation: 29811

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.

Upvotes: 3

Related Questions