开发者

.NET Assembly Version

The scenario is as follows. Developers compile the projects and deploy assemblies to production. eg, deployment contains 10 assemblies. Out of 10, they actually change the source code only in 5 assemblies and they recompile other 5 assemblies without changing the source code. Before depl开发者_运维知识库oyment, I want to trace which assemblies are actually changing and which are just recompiling. I can add version info or something in the project or build process. I can also access assemblies of previous build. But this process must be automated.

Thanks,

Ant.


You can convert both (previous and current) assemblies pdbs to xml (because pdb files for just recompiled source will differ) and binary (or ascii) compare them. If source was not changed then xml files will be the same.

Converting a managed PDB into a XML file.

Using this (not ideal, but anyway) approach you can fully automate changed source detection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜