在Visual Studio 2012中比较两个文件 [英] Compare two files in Visual Studio 2012
本文介绍了在Visual Studio 2012中比较两个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在VS 2012中看到新的比较工具比较两个文件或两个版本的文件。我喜欢。但是当我试图找到它,我不能,因为我不使用TFS。有没有办法如何比较两个文件与内置功能在VS但没有TFS?
I saw new comparsion tool in VS 2012 for comparing two files or two versions of file. I like it. But when I tried to find it I can't because I don't use TFS. Is there a way how can I just compare two files with builtin feature in VS but without TFS?
推荐答案
你可以调用 devenv.exe / diff list1.txt list2.txt
从命令提示符,或者如果Visual Studio实例已经运行,可以键入 Tools.DiffFiles
在命令窗口中,方便的文件名完成:
You can invoke devenv.exe /diff list1.txt list2.txt
from the command prompt or, if a Visual Studio instance is already running, you can type Tools.DiffFiles
in the Command window, with a handy file name completion:
这篇关于在Visual Studio 2012中比较两个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文