Change Assembly Version in a compiled .NET assembly

Posted chucklu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Change Assembly Version in a compiled .NET assembly相关的知识,希望对你有一定的参考价值。

Change Assembly Version in a compiled .NET assembly

You can use ILMerge:

ILMerge.exe Foo.dll /ver:1.2.3.4 /out:Foo2.dll

A valid reason to do this is to increment the assembly version in a build in you find breaking changes (using NDepend for example). That way if there are no breaking changes the assembly version stays the same, and you can patch released builds easily.

We always increment the file version, and that reflects the build number. 

 

 

 

 

以上是关于Change Assembly Version in a compiled .NET assembly的主要内容,如果未能解决你的问题,请参考以下文章

svcutil change所有类型都相同

Assembly Experiment4

Could not load file or assembly ‘CefSharp.Core.Runtime, Version=93.1.140.0

Could not load file or assembly 'System.Core, Version=2.0.5.0

Intell 使用 assembly插件 打包可执行Iar包

Could not load file or assembly ‘System.Security.Permissions, Version=0.0.0.0, Culture=neutral, Publ