Purify-net / PUrify

PUrify
Apache License 2.0
11 stars 6 forks source link

Portable library #23

Open glennblock opened 10 years ago

glennblock commented 10 years ago

We need to have a PCL to support Xamarin

ovatsus commented 10 years ago

We had the original solution from Rasmus Faber's on FSharp.Data for some time, and now ported also the mono implementation from PUrify, but we haven't managed to find a pcl implementation. If you do find one, we're interested :)

glennblock commented 10 years ago

@ovatsus you mean if will have a PCL? I am going to create it now.

ovatsus commented 10 years ago

Humm, so purify is a nop in PCL? What if the PCL is used on a desktop .NET application?

glennblock commented 10 years ago

Not exactly. The implementation of the PCL is a stub yes. This is fine for Windows Phone. because Uri should support pct-encoding not being escaped similar to .NET 4.5. The stub is a trick to enable the PCL to still target the phone so that it can be referenced from phone apps.

The PCL nuget though will also contain the .NET 3.5 Purify DLL in a Net35 folder. Because of how nuget works at installation time, this DLL will overwrite the PCL if running on the desktop or Mono/Xamarin.

We need to test this out and may require additional platform folders in the package, but we will eventually get to where we want to be.

On Wednesday, April 30, 2014, Gustavo Guerra notifications@github.com wrote:

Humm, so purify is a nop in PCL? What if the PCL is used on a desktop .NET application?

— Reply to this email directly or view it on GitHubhttps://github.com/Purify-net/PUrify/issues/23#issuecomment-41785847 .