Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

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

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
dsjohndavid
Asked:
dsjohndavid
1 Solution
 
käµfm³d 👽Commented:
You can install this add-on which comes with "Super Diff".
0
 
dsjohndavidAuthor Commented:
This is for Visual Studio 2005 and I am running 2008, still looking for a 2008 version...
0
 
ericpeckhamCommented:
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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
ericpeckhamCommented:
You could take a look at this:  http://diffplex.codeplex.com/
0
 
oxyooCommented:
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
 
dsjohndavidAuthor Commented:
I used WinMerge successfully.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now