This project is read-only.


Make Portable Libraries


For v2 we need to refactor to portable libraries.
Closed Nov 13, 2013 at 5:50 PM by EisenbergEffect


tibel wrote Feb 17, 2013 at 6:00 AM

There is a C# compiler bug with referencing PCL assemblies that might also harm us here:
VS2012 incorrectly resolves mscorlib version when referencing PCL assembly

This bug let the WPF designer in VS2012 crash, see OxyPlot discussion for details.

tibel wrote Apr 6, 2013 at 3:13 PM

Rx (Reactive Extensions) are a great example of how to deal with different platforms :-)
I think we have to implement something like this: Portable Class Library Enlightenment / Adaptation


tibel wrote May 1, 2013 at 11:54 AM

This issue is still blocked:
INotifyCollectionChanged is not supported by portable projects yet.

tibel wrote May 1, 2013 at 12:10 PM

Last message is true, when portable project includes .NET 4.0 target. Other combinations work.

tibel wrote May 2, 2013 at 5:53 PM

.NET 4.0 will not be supported by portable version,

Miksu wrote Sep 21, 2013 at 12:36 PM

This would be great. Maybe it could be done in small pieces, instead of converting the whole thing at once? We could go long way if stuff from INPC were available in a portable class library.

I suppose it wouldn't be too hard to convert the base classes, like BindableCollection, EventAggregator, Screen and Conductor but I suspect that the hard part is to add the platform specific code. For example, Screen is Screen in every platform, but something like OnViewReady method is different for every platform.

tibel wrote Oct 4, 2013 at 6:53 PM

Portable version is now available in master branch.

Supported platforms:
  • Windows Phone 8
  • Silverlight 5
  • .NET 4.5
  • WinRT