I want to add async support to current VS 2010 .NET 4.0 C# project
I have found:
I don't even get real difference between them.
I installed both. Visual Studio Async CTP (Version 3), Microsoft.Bcl and Microsoft.Bcl.Async. (also used to run tools\portable-net40+sl4+win8+wp71\install.ps1
in Microsoft.Bcl)
And still can't see any effect. Same error for
public async Task<CommResponse>
->
Error 37 The type or namespace name 'async' could not be found (are you missing a using directive or an assembly reference?)
So is it real how should I use this stuff?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With