A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Hello @MeThomas-1770,
Welcome to Microsoft Q&A forum.
Visual Studio 2010 doesn’t support C# 5 and .NET Framework 4.5, the async/await keywords were introduced in C# 5 and .NET Framework 4.5, so either you need to install Visual Studio Async CTP or update to use a higher version of Visual Studio like VS 2012, VS 2013…(the NuGet package Microsoft.Bcl.Async supports using async/await keywords without .NET Framework 4.5, but this NuGet package needs Visual Studio 2012).
If you choose to install Visual Studio Async CTP, ideally, it works, otherwise you may face many issues, as it’s also a very old package/update/installer. For example, you have successfully installed it without prompting any errors, but async/await keywords still don’t work, or partly work. In this situation, it’s difficult to continue, as installing is successful. You have no choice(the solution may be to install a newer version of the Async CTP, but it doesn’t have a newer version for you to update) but using it.
I know you mentioned at the very beginning of your question, but I would still suggest using a higher version of Visual Studio.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.