davidwhitney / System.Configuration.Abstractions

Injectable, mockable, extensible, configuration for .NET
MIT License
42 stars 7 forks source link

Switch to .NET 4.0 #2

Closed freeman closed 9 years ago

freeman commented 9 years ago

We are still under .NET 4.0 for most of our project.

I ported this excellent library (thanks !) to .NET 4.0.

One method had to be sacrificied but I am not sure it is very used.

If you agree, would you consider merging it and publishing a new nuget version.

Thanks,

davidwhitney commented 9 years ago

this seems reasonable, i'll take a proper look this evening and see what i can do to publish a .net4 version.

davidwhitney commented 9 years ago

Hey - I think what I'm going to do is add an extra csproj for a .NET4 version of this and use a pre-processor directive around the incompatible method, rather than break backwards compatibility.

What this means:

Make sense? :)

freeman commented 9 years ago

Looks cleaner than my approach but requires changes to the build process which is why I did not approach it this way.

Any idea on the build tool you will use ? (I heartily recommend FAKE :) )

davidwhitney commented 9 years ago

I've just published version 2.0.2.17 to nuget, which should introduce a version of the library compatible with 4.0 - try it out and let me know :+1:

freeman commented 9 years ago

Thanks this works great ! :+1: