比较(并合并)两个VS C#项目 [英] Compare (and merge) two VS C# projects

查看:124
本文介绍了比较(并合并)两个VS C#项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个VS C#项目(特别是用于Outlook插件),我相信它们非常相似,除了大概100行代码.我有点担心项目的其他配置选项可能会有所不同,所以我想将这两个选项进行比较.

I have two VS C# projects (specifically, for an Outlook plugin) that I believe to be very similar with the exception of perhaps 100 lines of code. I'm slightly worried that there might be other configuration options for the project that are different, so I'd like to compare those two.

查看两个代码库之间差异的最佳方法是什么?

What is the best way to see the differences between the two codebases?

我尝试将两个项目放在并行目录中并使用diff,但是由于项目的名称不同,因此某些文件不匹配.我只是想知道是否有更简单的方法来做到这一点?

I've tried putting the two projects in parallel directories and using diff, but since the projects are named differently, some of the files don't match up. I'm just wondering if there's an easier way to do this?

推荐答案

听起来您需要 WinMerge 之类的东西仔细指出两个项目之间的差异.它是免费的,而且我知道您可以将文件夹内容与WinMerge进行比较,因此这可能是一个不错的起点.在项目文件夹上运行WinMerge,它将生成详细的比较,概述文件之间的差异.

It sounds like you need something like WinMerge to go through and point out the differences between the two projects. It's free, and I know you can compare folder contents with WinMerge, so that's probably a good place to start. Run WinMerge on the project folders and it should generate a detailed comparison outlining the differences between the files.

有关比较文件夹的信息,请参见本教程:
http://manual.winmerge.org/CompareDirs.html

See this tutorial on comparing folders:
http://manual.winmerge.org/CompareDirs.html

这篇关于比较(并合并)两个VS C#项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆