drewnoakes / xmp-core-dotnet

.NET library for working with the Extensible Metadata Platform (XMP)
60 stars 22 forks source link

Add a PCL project (Issue #4) and fix conversion issues #7

Closed kwhopper closed 8 years ago

kwhopper commented 8 years ago

4:

drewnoakes commented 8 years ago

Looks good, though I wonder if we can take the approach used in metadata-extractor-dotnet of having the XmpCore.Portable.csproj file in the same folder as the non-portable .csproj file, such that they both use the same source files. Any differences between these would then be hidden behind #if PORTABLE ... #endif or similar. Doing this avoids having two copies of each source file, meaning bug fixes in one version end up in both.

Merging this for now as this is valuable work. Would be good to consolidate the two folders and cut down on duplication.

kwhopper commented 8 years ago

Agreed. I haven't done that before, but can try if you want. You might be able to do it faster.

drewnoakes commented 8 years ago

It's a nice pattern I first encountered in the NetMQ project.

On 13 December 2015 at 00:42, kwhopper notifications@github.com wrote:

Agreed. I haven't done that before, but can try if you want. You might be able to do it faster.

— Reply to this email directly or view it on GitHub https://github.com/drewnoakes/xmp-core-dotnet/pull/7#issuecomment-164204946 .