Is there a (preferably free) .NET library for file compare and that returns enumerable collections off added, changed and deleted lines?
Basically everything beyond compare does but in .NET and returns collections you can interact with.
What you're looking for is a Diff generation library.
I would take a look at DiffPlex.
You'll have to read the files into memory yourself, but it wouldn't be hard to build a wrapper class around DiffPlex so that you can easily use files from that point on...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With