什么是Microsoft.Bcl.Async? [英] What is Microsoft.Bcl.Async?

查看:194
本文介绍了什么是Microsoft.Bcl.Async?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是Microsoft.Bcl.Async?它的作用是什么?

What is Microsoft.Bcl.Async and what is it used for?

我在打包页面上阅读,该信息:

此软件包使Visual Studio 2012项目可以使用新的'async'和'await'关键字.

This package enables Visual Studio 2012 projects to use the new 'async' and 'await' keywords.

但是可以看到,我的VS2012支持 async await ,而没有任何额外的软件包.

But as could see my VS2012 supports async and await without any extra package.

那我应该为我的C#4.5'async'项目安装软件包吗?

So should I install the package for my C# 4.5 'async' project?

推荐答案

这是一个能够在.NET 4.0项目中使用asyncawait的程序包.

It is a package to be able to use async and await in .NET 4.0 projects.

但是要注意.我遇到了无法在.NET 4.5项目中使用这些库的问题.但这是在.NET 4.5的初始版本之前.因此,可以解决此问题.

But be aware. I encountered the problem where these libraries cannot be used in .NET 4.5 projects. But this was before the initial release of .NET 4.5. Therefore this problem might be resolved.

这篇关于什么是Microsoft.Bcl.Async?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆