异步瞄准Pack版本 [英] Async Targeting Pack Versions

查看:107
本文介绍了异步瞄准Pack版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有出现两个包的NuGet使用异步/地等待着Silverlight应用程序。我用

There appear to be two NuGet packages to use async/await in Silverlight applications. I've used

http://nuget.org/packages/Microsoft.CompilerServices.AsyncTargetingPack

到目前为止,但这并没有在搜索中显示了。相反,我发现

so far, but this didn't show up in the search anymore. Instead I found

http://nuget.org/packages/Microsoft.Bcl.Async/

然而,无论是最后一次修改同日(2013年4月18日),并没有提到其他的说明。我很想相信后者取代前者,但我不知道。

However, both are last changed at the same date (4/18/2013) and none refers to the other in the description. I'm tempted to believe that the latter supersedes the former, but I'm not sure.

我的问题是明确这些包是如何相互关联的,更普遍,如果有一些文档/约的NuGet发布的原则,我应该知道我自己做出的这个意义上来说(如:这是典型的以取代上包另外,这哪里是记录,等等)。

My question is specifically how these packages relate to each other and more generally if there's some documentation / principles about nuget releases that I should be aware of to make sense of this by myself (eg: is it typical to supersede on package with another, where is this documented, etc.).

推荐答案

<一个href=\"http://blogs.msdn.com/b/bclteam/archive/2013/04/17/microsoft-bcl-async-is-now-stable.aspx\"><$c$c>Microsoft.Bcl.Async是替代 Microsoft.CompilerServices.AsyncTargetingPack

这不是典型的,除非你更改其名称,以取代一个封装与另一个上的NuGet。在这种特殊情况下,我相信 AsyncTargetingPack 被(错误地)上市没有$ P $租赁前的标记,然后球队在微软采取了更广泛的方式(支持更多的场景)在 Bcl.Async

It is not typical to supersede one package with another on NuGet unless you change its name. In this particular case, I believe AsyncTargetingPack was (incorrectly) listed without the "prerelease" flag, and then the team at Microsoft took a wider approach (supporting more scenarios) in Bcl.Async.

Bcl.Async 在我的脑海取代 AsyncTargetingPack 时,它是第一个(pre)发布了数个月以前,但有一些困惑,原因有二:1)仍称 Bcl.Async 作为异步瞄准​​包,而球队2) Bcl.Async 包得(正确地)列为$ p $租赁前,因此对于很多开发者只是 AsyncTargetingPack 将在搜索的NuGet显示

Bcl.Async in my mind superseded AsyncTargetingPack when it was first (pre)released several months ago, but there was some confusion for two reasons: 1) The team still referred to Bcl.Async as the "async targeting pack", and 2) The Bcl.Async package was (correctly) listed as prerelease, so for many devs only the AsyncTargetingPack would show up in NuGet searches.

同样,这都是猜测,但我怀疑微软团队决定离开的东西,因为他们,而不是向后兼容打破谁已经在使用的开发者 AsyncTargetingPack

Again, this is all speculation, but I suspect the Microsoft team decided to leave things as they were rather than break backwards compatibility for devs who were already using AsyncTargetingPack.

现在 Bcl.Async 是在最终发布,它们可以(做)回去和纠正 AsyncTargetingPack / Bcl.Async 查询股价,使现有的和新开发者可以很容易地找到正确的包。

Now that Bcl.Async is at a final release, they can (and did) go back and correct the AsyncTargetingPack/Bcl.Async mixup so that both existing and new devs can easily find the correct package.

这篇关于异步瞄准Pack版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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