Solved

File comparison and output within Visual Studio 2008/.Net C# application

Posted on 2011-03-25
6
348 Views
Last Modified: 2013-12-17
Is there a tool that from within a Visual Studio 2008/.Net C# application that can compare two files and return the differences (modified, new, and deleted lines) back to the application for screen display and output to  file?
0
Comment
Question by:dsjohndavid
6 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35216004
You can install this add-on which comes with "Super Diff".
0
 

Author Comment

by:dsjohndavid
ID: 35216103
This is for Visual Studio 2005 and I am running 2008, still looking for a 2008 version...
0
 
LVL 2

Expert Comment

by:ericpeckham
ID: 35219822
Are you asking for an IDE add-on, or a library you can reference from within your application's code to do a diff on two files?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 2

Expert Comment

by:ericpeckham
ID: 35219837
You could take a look at this:  http://diffplex.codeplex.com/
0
 
LVL 10

Accepted Solution

by:
oxyoo earned 500 total points
ID: 35464735
Try ComparisonTools (http://comparisontools.codeplex.com) with WinMerge (http://winmerge.org)

However, if you use any kind of source control tool (Mercurial, Git, Subversion) they usually provide this behaviour for you with built in tools.

Good Luck!
0
 

Author Closing Comment

by:dsjohndavid
ID: 37066024
I used WinMerge successfully.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now