Compare Two DLL's

2019-04-10 02:39发布

Scenario

I have a C# application compiled as a DLL. I have a build from last week and a build from this week. There has been a significant change in performance so I want to compare the the two builds to see what has changed.

ANY IDEAS?........SUGGESTIONS?

Cheers

EDIT:

Yes it would be better to compare the source code from version control........except we are using TFS, not by choice, and even with the bolton application TFS takes source control to a whole new level of shite........it's very difficult to revert without messing around with workspaces etc....i just thought the DLL approach would be easier...The application is a monster as well......

标签: c# .net dll
4条回答
Ridiculous、
2楼-- · 2019-04-10 03:10

I would recommend to disassemble two libraries with the Reflector (right click on the assembly -> Export) and then compare directories generated with some merging tool, like WinMerge.

查看更多
我只想做你的唯一
3楼-- · 2019-04-10 03:10

Today the same can be done with JetBrains dotPeek. Load the dll right mouse button -> export to project and compare in WinMerge

查看更多
聊天终结者
4楼-- · 2019-04-10 03:28

Wouldn't it be better to profile the two dll? You will find where in the second one you are spending more time than in the first. This should give you an indication of what has gone wrong.

查看更多
Anthone
5楼-- · 2019-04-10 03:33

An updated answer to this question, if it is a dll written in C#, I would recommend dotPeek by JetBrains. Its free! After decompiling, you can copy the code text into a text editor like Notepad++ that allows you to compare two text files.

查看更多
登录 后发表回答