如何在visual studio 2010中比较两个XML文件

时间:2023-01-14 19:06:44

How to compare two xml files in visual studio 2010? I saw some programmer compares XML files using tool but don't know which is that tool is.

如何比较visual studio 2010中的两个xml文件?我看到一些程序员使用工具比较XML文件,但不知道该工具是哪个。

3 个解决方案

#1


1  

Comparing two files works out of the box when your file is in team foundation server. This adds "Compare..." in the context menu. You can use blog.paulbouwer.com link above, but I would recommend James's blog, which cover almost any possible diff and merge tool http://blogs.msdn.com/b/jmanning/archive/2006/02/20/diff-merge-configuration-in-team-foundation-common-command-and-argument-values.aspx The tools mentioned above winmerge and code compare do not recognize xml natively, I found stylus studio which promises xml handling http://www.stylusstudio.com/xml_diff.html

当您的文件位于团队基础服务器中时,比较两个文件是开箱即用的。这会在上下文菜单中添加“Compare ...”。您可以使用上面的blog.paulbouwer.com链接,但我会推荐James的博客,其中涵盖几乎任何可能的差异和合并工具http://blogs.msdn.com/b/jmanning/archive/2006/02/20/diff -merge -configuration-in-team-foundation-common-command-and-argument-values.aspx上面提到的工具winmerge和代码比较本身并不识别xml,我发现stylus studio承诺xml处理http:// www。 stylusstudio.com/xml_diff.html

#2


-1  

For me, WinMerge was the best I found to compare files. It can be used in Visual Studio also to compare files (source code, XML at least...).

对我来说,WinMerge是我发现比较文件的最佳选择。它也可以在Visual Studio中用于比较文件(源代码,XML至少......)。

Check it out: http://winmerge.org/

看看:http://winmerge.org/

Hint to integrate it into Visual Studio (and replace the built-in diff tool): http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/

提示将其集成到Visual Studio中(并替换内置的差异工具):http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-与-的WinMerge /

#3


-1  

Check this: Code Compare

检查一下:代码比较

This tool automatically integrates in VS 2010.

该工具自动集成在VS 2010中。

#1


1  

Comparing two files works out of the box when your file is in team foundation server. This adds "Compare..." in the context menu. You can use blog.paulbouwer.com link above, but I would recommend James's blog, which cover almost any possible diff and merge tool http://blogs.msdn.com/b/jmanning/archive/2006/02/20/diff-merge-configuration-in-team-foundation-common-command-and-argument-values.aspx The tools mentioned above winmerge and code compare do not recognize xml natively, I found stylus studio which promises xml handling http://www.stylusstudio.com/xml_diff.html

当您的文件位于团队基础服务器中时,比较两个文件是开箱即用的。这会在上下文菜单中添加“Compare ...”。您可以使用上面的blog.paulbouwer.com链接,但我会推荐James的博客,其中涵盖几乎任何可能的差异和合并工具http://blogs.msdn.com/b/jmanning/archive/2006/02/20/diff -merge -configuration-in-team-foundation-common-command-and-argument-values.aspx上面提到的工具winmerge和代码比较本身并不识别xml,我发现stylus studio承诺xml处理http:// www。 stylusstudio.com/xml_diff.html

#2


-1  

For me, WinMerge was the best I found to compare files. It can be used in Visual Studio also to compare files (source code, XML at least...).

对我来说,WinMerge是我发现比较文件的最佳选择。它也可以在Visual Studio中用于比较文件(源代码,XML至少......)。

Check it out: http://winmerge.org/

看看:http://winmerge.org/

Hint to integrate it into Visual Studio (and replace the built-in diff tool): http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/

提示将其集成到Visual Studio中(并替换内置的差异工具):http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-与-的WinMerge /

#3


-1  

Check this: Code Compare

检查一下:代码比较

This tool automatically integrates in VS 2010.

该工具自动集成在VS 2010中。