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:
- visual studio async ctp - http://www.microsoft.com/en-us/download/details.aspx?id=9983
- microsoft.bcl.async - https://nuget.org/packages/microsoft.bcl.async
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
Post a Comment