什么是可移植类库? [英] What is a Portable Class Library?

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

问题描述

在MSDN我注意到一个关于便携式类库部分,在版本信息。

请参阅 System.Object的为例。 <一href="http://msdn.microsoft.com/en-us/library/system.object.aspx">http://msdn.microsoft.com/en-us/library/system.object.aspx

我做了一个简单的谷歌搜索,但没有找到关于便携式类库东西。有谁知道这里是什么或者我可以找到关于它的更多信息?

解决方案

更​​新2013年7月10日:在PCL联盟的优秀状态从@shanselman 有很多具体的例子,截图和链接汇总的博文。这里提出任何其他的答案在阴凉处。

更新2013年5月20日:

更新2013年4月19日:这一切是如何挂在一起,通过智能感知到一个的通过博客文章西蒙·库珀


视频:<一href="http://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Visual-Studio-ToolboxPortable-Class-Libraries">Channel 9 Visual Studio的工具箱中显示的情节2012年6月14日

视频:<一href="http://channel9.msdn.com/Shows/Going+Deep/NET-45-David-Kean-and-Marcea-Trofin-Portable-Libraries">Channel 9展望深秀节目2011年9月27日


更新2012年9月11日:<一href="http://blogs.msdn.com/b/dsplaisted/archive/2012/08/27/how-to-make-portable-class-libraries-work-for-you.aspx">Good高水平的博客文章与图片,图表和激励例子来说明如何MVVM灯和RX使用它

更新2012年4月11号:很好<一href="http://feedproxy.google.com/~r/ScottHanselman/~3/wqDMRn_q6KA/HiddenGemsInVisualStudio11BetaNETPortableClassLibraries.aspx">end最终,获取的点在开发说话的速度非常快,包括截图这里一块在Scott Hanselman(也包含很有见地怎么想起来的信息和链接样本)。此外,还包括在最后一节的资源是pretty的多重复这整个帖子:D <​​/ P>

更新2012年7月9日:<一href="http://blogs.msdn.com/b/dotnet/archive/2012/07/06/targeting-multiple-platforms-with-portable-$c$c-overview.aspx">This博客系列的开发团队的米尔恰·Trofin(其中一部分至今)是最完整的覆盖的是,包括截图和详细的矩阵显示在您选择可用的功能,如果你进入的是诸如此类的事情。


请参阅<一href="http://blogs.msdn.com/b/bclteam/archive/2011/01/19/announcing-portable-library-tools-ctp-justin-van-patten.aspx">Portable库工具anouncement博客帖子,这将启动: -

  

便携式图书馆工具CTP增加了一个新的可移植类库项目模板到Visual Studio,可用于创建在C#和VB,关于各种.NET平台上运行,而无需重新编译类库。

它用于创建一个类库,针对多个平台(ESP Silverlight的变种,如WP7和SL4,但包括XNA在Xbox)在同一时间。

又见

相关的总结篇

另请参阅本次发布的通知

有关降浊的细节,<一个href="http://blogs.msdn.com/b/bclteam/archive/2012/04/11/multi-targeting-guidelines-for-tools-for-managed-$c$c-mirceat.aspx">see多目标指引工具管理code

On MSDN I noticed a section about a Portable Class Library, under Version Information.

See System.Object for an example. http://msdn.microsoft.com/en-us/library/system.object.aspx

I did a brief Google search and couldn't find anything about the Portable Class Library. Does anyone here know what it is or where I could find more information about it?

解决方案

UPDATE Jul 10 2013: Excellent state of the PCL union summary blogpost from @shanselman with lots of concrete examples, screenshots and links. Puts any other answer here in the shade.

UPDATE May 20 2013:

UPDATE Apr 19 2013: Excellent dense summary of how it all hangs together from Intellisense through to run time in a blog post by Simon Cooper


Video: Channel 9 Visual Studio Toolbox show episode 14 June 2012

Video: Channel 9 Going Deep Show episode 27 Sep 2011


UPDATE Sep 11 2012: Good high level blog post with pictures, diagrams and motivating examples showing how MVVM Light and RX use it

UPDATE Apr 11 2012: Very good end to end piece by Scott Hanselman that gets to the point in dev speak very quickly including screenshots here (also contains very insightful 'how to think of it' information and links to samples). Also includes a resources section at the end that pretty much duplicates this entire post :D

UPDATE Jul 9 2012: This blog series by Mircea Trofin of the dev team (one part so far) is the most complete coverage yet, including screenshots and detailed matrices showing available features across your selections if you're into that sort of thing.


See Portable Library Tools anouncement blog post, which starts:-

The Portable Library Tools CTP adds a new "Portable Class Library" project template to Visual Studio that can be used to create class libraries in C# and VB that run on the various .NET platforms without recompiling.

It's used for creating a Class Library that targets multiple platforms (esp Silverlight variants such as WP7 and SL4, but including XNA on Xbox) at one time.

See also this InfoQ summary article

See also this release notice.

For down and dirty details, see Multi-Targeting Guidelines for Tools for Managed Code

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

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