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

前端 未结 2 1436
执笔经年
执笔经年 2021-01-12 00:15

I want to add async support to current VS 2010 .NET 4.0 C# project

I have found:

  • Visual Studio Async CTP - http://www.microsoft.com/en-us/download/deta
2条回答
  •  孤街浪徒
    2021-01-12 00:46

    I don't think you should do that. The Visual Studio 2010 version of async/await is more of a preview than anything else. If you want to use this in real, production level code, you should definitely upgrade to Visual Studio 2012 (or 2013, if you can wait a little while).

    If you don't need this in real production code that requires Visual Studio Pro for some reason, and are just toying around, you can use Visual Studio 2012 Express.

提交回复
热议问题