Solved

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

Posted on 2011-03-25
6
351 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

763 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