对于针对C#/。NET的API向后兼容性工具? [英] Tool for backwards compatibility for the C#/.NET API?
问题描述
我发现这个工具,<一个href="http://sab39.netreach.com/Software/Japitools/JDK-Results/46/">http://sab39.netreach.com/Software/Japitools/JDK-Results/46/,该检查原料药使用的Javadoc Java的不同版本之间的向后兼容性。
有相当于这一个C#/。NET的工具?
下面是JDK 1.5和JDK使用此工具6 API之间的比较的例子: <一href="http://www.kaffe.org/~stuart/japi/htmlout/h-jdk15-jdk6">http://www.kaffe.org/~stuart/japi/htmlout/h-jdk15-jdk6
-
ApiChange 确实需要一组老组件和一组新组件这是显示差异的潜在破坏API的变化:
ApiChange -diff -old HelloWorldV1.dll - 新HelloWorldV2.dll
-
<一个href="http://www.microsoft.com/downloads/en/details.aspx?familyid=4b5b7f29-1939-4e5b-a780-70e887964165&displaylang=en">LibCheck可以让你比较两个版本的组件,并确定了差异。该工具报告的差异为删除,并结合补充的API:
LibCheck -store HelloWorld.dll 1.0 -full C:\ HelloWorldV1 \
LibCheck -store HelloWorld.dll 2.0 -full C:\ HelloWorldV2 \
LibCheck -compare 1.0 2.0
参见 ,突出显示大会版本之间的公共API差异和的阿比的Diff组件之间文章
I found this tool, http://sab39.netreach.com/Software/Japitools/JDK-Results/46/, which checks for backwards compatibility between different versions of APIs for Java using javadoc.
Is there an tool equivalent to this one for C#/.NET?
Here is an example of a comparison between JDK 1.5 and JDK 6 APIs using this tool: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk15-jdk6
ApiChange does take a set of "old" assemblies and a set of "new" assemblies which are diffed for potentially breaking Api changes:
ApiChange -diff -old HelloWorldV1.dll -new HelloWorldV2.dll
LibCheck allows you to compare two versions of an assembly and determine the differences. The tool reports the differences as a combination of "removed" and "added" APIs:
LibCheck -store HelloWorld.dll 1.0 -full C:\HelloWorldV1\
LibCheck -store HelloWorld.dll 2.0 -full C:\HelloWorldV2\
LibCheck -compare 1.0 2.0
See also "Working with LibCheck", "Highlight Public API Differences Between Assembly Revisions" and "Api Diff Between Assemblies" articles.
这篇关于对于针对C#/。NET的API向后兼容性工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!