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
Solved

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

Posted on 2011-03-25
6
350 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
location of a form 2 25
Upgrading my SSIS package in VS 2012 6 59
reboot server with scheduled time and week base 4 32
Please explain purpose of GZIP 4 34
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

839 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