Portable Library Tools 2 Beta

Free

Provides tools for Visual Studio 2010 for creating class libraries that run on Windows, Silverlight, Windows Phone and Xbox 360.

(17) Review
Visual Studio
2010
Download (22,109)
5/10/2012
10.0.50504
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (17)
Q and A (95)
Sign in to Write a Review
Sort By:

by George Danila | Sun 6:32 PM

Excelent :D

by Brian Swiger | March 19 2012

Great addition that was desperately needed for multi-platform. It's not perfect yet, but is a great stride forward to delivering a cross-platform runtime. Please keep adding namespaces such as the new ones introduced in .NET 4 and 4.5. Thank you!

by Mike Feng | March 07 2012

It is great tool, but as the other said, please add the namespace System.XML.Linq and System.ComponentModel.DataAnnotations.dll since they are available in new .net framework. http://support.microsoft.com/kb/2600211

BCL Team May 09 2012
| Edit |
Delete

The new update includes support for these, when targeting platforms that support it (.NET 4.0.3, Silverlight, Phone and .NET for Metro style apps).

by Daniel B Holt | February 25 2012

by Xperiandri | January 04 2012

Could you add Silvelight 5 support?

by LidanH | December 20 2011

Amazing tool. But still, there are missing of missing objects.
Mainly:
ObservableCollection (cannot be shared with PC .Net 4)
WebClient

BCL Team May 09 2012
| Edit |
Delete

In the latest update, ObservableCollection is now sharable between .NET 4.5 and the other platforms.

by Zverev Eugene | December 19 2011

Extremelly needed tool.

by MikeBMcL | November 20 2011

This is an extremely useful tool. It has helped me a lot when designing data models for projects where the target platforms have not yet been finalized and where leaving open the option to add additional platforms in the future is desirable.

by Jonathan Allen | November 14 2011

I love the idea, but as it stands I can't use it. At the very least I need "View Model Support" across .NET, Silverlight, and Windows Phone.

BCL Team May 09 2012
| Edit |
Delete

In the latest update, support for sharing View Model is available between .NET 4.5 and the other platforms.

by ealbert1 | September 19 2011

For the purpose of validating the Models/Dtos both in the UI and server side, it would be beneficial if IDataErrorInfo is available.

by Jozef Izso | September 14 2011

by Alex F. Sherman | September 08 2011

by Yamok-Sauce | August 24 2011

Great, just great!!

by samiq | August 10 2011

has a lot of promise and I see it taking a lot of importance after the 3 screens strategy gets unveiled in BUILD - so we hope :)

there are some important things missing in this first release but at the same time it let us start acommodating for a near future

by DexterouslyLive | June 15 2011

Ok, I like what it is possible with Portable Class Library. Great thinking but why are some things that seem basic to all the platforms missing? I understand that its a preview but really how extensive will this get. Will this develop to be a platform in which we can rely from all others?

It needs more consistency, for example: Timeout.Infinite is missing, and it doesn't seem to be all that hard to create that constant.


I will await future versions of this! For now, just keep your essential classes extremely basic.

Update: Been using Release Candidate and it is great. Keep up the good work and please add more namespaces such as System.XML.Linq.


Oscar

BCL Team May 09 2012
| Edit |
Delete

The new update includes support for XLINQ when targeting 4.0.3 and higher.

by StoneFactory | June 01 2011

Definitively a tool we needed.

Seems to be quite powerful but your are going to be faced with lost of requests for missing. For exemple, I need System.Xml.Lind to be able to factorize service references.

And what about extensions libraries?
Have you considered making it configurable with some kind of Xml file? Doing this, we could decorate assemblies, classes, methods, overloads with platform informations.

by Josue Yeray | April 24 2011

Funciona muy bien, siempre y cuando mantengamos nuestras clases compartidas lo suficientemente sencillas.

Espero que evolucione un poco más para permitirnos más libertad de movimientos, pero aun así en su versión actual es una gran ayuda al desarrollo multi proyecto.

Sign in to Start a Discussion


  • Please add support for .Net.Socket classes
    2 Posts | Last Post 5:07 PM
    • Hi,
      It would be useful to have the TCP Socket classes abstracted across the platforms.
      
      Thanks.
    • Thanks for the feedback. It's on definitely on our radar - but will not make it for the RTM release of our VS2010 and VS11 releases.
  • Pull profile definitions into build
    1 Posts | Last Post Tue 5:36 PM
    • I'm interested in adding portable library support to NuGet.
      
      This means NuGet.exe will need to map from the .NETPortable profile names to the supported FrameworkNames. The information is right there in xml under Reference Assemblies, so the easiest way to do this is to just copy those xml files into the output directory.
      
      Are there any MSBuild properties that I could easily use for this?
  • LINQ.Expressions full set?
    7 Posts | Last Post Thu 3:27 PM
    • Hello, do you plan to include full set of LINQ expressions which is available in .net 4.0 together with expression visitor?
    • Yes do have support for the full set in VS11 (when targeting platforms that support them), and we're about to release an update to the VS2010 which will also include the fullset.
    • Awesome :) Thx!
    • Hi David, any more precise ETA for the next update to the VS2010 version ?
      
      Very needed here :)
      
      Thanks,
      Karim
    • Keep a watch out today. :)
    • Just uploaded the new version.
    • AWESOME!
      
      Thanks!
      karim
  • ViewModel support in .NET 4?
    3 Posts | Last Post Thu 12:51 AM
    • Are you planning to add ViewModel support in .NET 4? I actually only need the interfaces, not ObservableCollection.
    • (sorry, that should read "add ViewModel support *to* .NET 4")
    • There are no current plans to support it on vanilla .NET 4.0. We simply cannot make it possible, these types lives in different assemblies between Silverlight and Phone and there's not a way to make them seen as equivalent without runtime changes. We're considering our options for enabling in later platform updates to 4.0.
  • Portable Class Library with System.Xml.Linq
    1 Posts | Last Post Thu 12:23 AM
    • Hi, I am building an OSS library that depends on System.Xml.Linq. With the new bits I can now build this library in VS2010 with .net 4.0.3 as a target. That's great, thanks!
      
      I am now wondering how this lib could be used from VS2010. When it is added as an assembly reference to a .net 4.0 project there is no error or warning. Could I expect it to work properly like that?
      
      If I add this lib as a project reference the dependent project needs to be 4.0.3 or higher. This is not supported by default in VS2012. You need to install a new design time update: http://www.microsoft.com/en-us/download/details.aspx?id=29054. Are there ways to make this easier? Could the design time update for 4.0.3 perhaps be part of the PLT update?
      
      Thanks,
      Paul
  • Could not load file or assembly 'System.Runtime.Serialization, Version=4.0.0.0
    4 Posts | Last Post May 07, 2012
    • This code:
      protected bool ContainsExcludeFromSerializationAttribute(PropertyInfo property)
              {
                  foreach (Type attrType in AttributesToIgnore)
                  {
                      object[] attributes = property.GetCustomAttributes(attrType, false);
      
      causes this exception with the PCL in WinRT C#:
      Could not load file or assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Failed to add file to AppDomain cache. (Exception from HRESULT: 0x80131052)
      
      How can I fix that?
      
      ...Stefan
    • That looks like a known bug in the CLR binder, and I believe its fixed in later (currently non-public) builds. I'll chase up, and get back to you.
    • Yep confirmed, it's a bug in the beta, will be fixed in the next public release. 
      
      It's a race condition, so you shouldn't hit it all the time.
    • David,
      
      Thanks - no, don't hit it all the time, and that explains it!
      
      Look forward to the next release!
      
      ...Stefan
  • Generic covariance problem
    3 Posts | Last Post April 24, 2012
    • Hi,
      
      I'm trying to migrate business logic from a prototype written in Silverlight 5 to a VS 2010 portable library project. One problem I'm running into is that generic covariance doesn't seem to work in the portable library.
      
      In SL5, I can have an interface IFoo with an Items property of type IEnumerable<Base>. Then I can have a class Foo implementing IFoo, with an Items property returning IEnumerable<Derived>. This doesn't seem to work in the portable library.
      
      I am guessing this is because the portable library targets Silverlight 4, and SL4 did not support generic variance. Does the VS 2011 beta version of portable libraries solve this problem? Or is there a solution for VS 2010?
      
      Thanks for your help,
      Richard
      
    • Known issue, it will be fixed next public release of VS11.
    • Great, thank you. I'll try it out then.
      
  • System.Environment.OSVersion
    1 Posts | Last Post April 24, 2012
    • Is there a reason System.Environment.OSVersion is not included in the PCL? It would greatly help with writing code that targets different platforms at run-time (for example different behavior on devices with less memory).
      
      Or is there another way/hack to determine the platform at runtime?
  • Using Timer in Metro apps
    3 Posts | Last Post April 13, 2012
    • There is no System.Threading.Timer class in Metro style applications framework. But it could be used in portable libraries even if they are targeted to Metro style applications. This could lead to compile or run -time errors.
      Used VS2011 Beta.
    • Thanks, this is actually by-design. We don't expose Timer in Metro style apps in lieu of the WinRT equivalent, however, it is supported and will work at runtime. It is known that an API that exposes Timer publically in portable will not be consumable from Metro, however, we felt the benefits of having it, outweighed the benefits of not having it.
    • Thank you for answering. Will Timer be based ThreadPoolTimer in Metro Style apps?
      If this is this is classified information - ok :)
  • Adding restricted references
    2 Posts | Last Post March 28, 2012
    • It appears that the GUI in VS 11 allows you to add references to a PCL that it probably shouldn't.  I created a test PCL that targets .NET and Metro then I added references to PresentationCore and PresentationFramework.  These were available under the "Recent" tab of the Reference Manager dialog.  I even referenced the CommandManager type in the PCL and compiled.  There were no errors, warnings, or warning icons displayed in the Errors window, the Reference Manager dialog, or under the References icon in Solution Explorer.
    • Thanks for the heads up. We aware of this, and looking at preventing this from occuring.
1 - 10 of 95 Items   
« First   < Prev   1  2  3  4  5  6  7  8  9  10    Next >   Last »