c# - How to use async with Visual Studio 2010 and .NET 4.0? -


i want add async support current vs 2010 .net 4.0 c# project

i have found:

i don't real difference between them.

i installed both. visual studio async ctp (version 3), microsoft.bcl , microsoft.bcl.async. (also used run tools\portable-net40+sl4+win8+wp71\install.ps1 in microsoft.bcl)

and still can't see effect. same error for

public async task<commresponse> 

->

error   37  type or namespace name 'async' not found (are missing using directive or assembly reference?) 

so real how should use stuff?

i don't think should that. visual studio 2010 version of async/await more of preview else. if want use in real, production level code, should upgrade visual studio 2012 (or 2013, if can wait little while).

if don't need in real production code requires visual studio pro reason, , toying around, can use visual studio 2012 express.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -