Solved

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

Posted on 2011-03-25
6
349 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net How to Exit Sub - Exit Form??? 5 57
.net and XML report from SCCM 5 20
Switching Visual Studio 2015 to normal debug display 3 25
VB.NET 2008 Publish Error 2 25
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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