This project has moved. For the latest updates, please go here.

Porting to .NET Framework 4.0

Apr 26, 2014 at 9:25 AM
How many people are actually using EPPlus under .NET Framework 3.5 any longer?

Compiling under .NET Framework 4.0 requires just two small changes to the source code, to use the XmlReaderSettings.DtdProcessing property istead of the obsolete ProhibitDtd. Just substitute
<variable_name>.ProhibitDtd = true;
<variable_name>.DtdProcessing = DtdProcessing.Ignore;
(there are just 2 occurrences of that in all EPPlus).

I'm willing to make a pull request for that, but since I don't want my fork to deviate too much from upstream, I first have to make sure there's actual interest on the maintainers' part.
Apr 26, 2014 at 9:56 AM
Edited Apr 26, 2014 at 9:57 AM
Actually there's a "NET4.0" branch in my fork, should anyone want to give it a try. It seems to work fine for my purposes; I didn't try it with ASP.NET, but all the examples and tests compile without problems, so everyone is welcome to do some more testing.