Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从控制台使用 VS 2012 差异工具,如下所示?
compare.exe c:\file1 c:\file2
编辑
您也可以从命令行窗口运行 diff 工具,它将在 VS 的同一实例中运行。
Tools.DiffFiles c:\file1 c:\file2
此外,还有一个VS 2012 的扩展。
devenv /diff c:\file1 c:\file2
要打开Visual Studio Code Diff Toolcmd或者您可以输入powershell以下命令,当然需要指定您的文件:
cmd
powershell
code --diff <path1> <path2>