[Mono-dev] Support for Portable Class Libraries (PCL)

Marek Safar marek.safar at gmail.com
Sat Jul 2 04:32:14 EDT 2011


Hello,
> Microsoft has recently introduced support for Portable Class 
> Libraries, allowing the same DLL to be reused for both .Net 4 and 
> Silverlight 4 without recompiling the source.  There are restrictions 
> on which APIs are available, and some minor API changes from their 
> non-portable equivalents to gain consistency across the platforms.
>
> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
>
> What additional development effort would be required for the Mono 
> project to deliver equivalent Portable Class Library system library 
> implementations, to be used as library references when compiling .Net 
> 4 / Silverlight 4 portable code with gmcs?
We don't have Portable .NET profile. The first step would be to create 
this build profile and probably use linker or hack the compiler to strip 
all IL code as it's not needed. On top of that runtime support for 
retargetable assemblies is needed. There is already a bug report about 
this feature in bugzilla.

I think that's all what is needed.

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110702/44c0e2b7/attachment.html 


More information about the Mono-devel-list mailing list