Solved

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

Posted on 2011-03-25
6
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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…
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…

738 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