简体   繁体   中英

How to change assembly version of a dll without rebuilding in c#?

Can anyone help me out to change the version of a assembly(.dll) without rebuilding it.

I want to re-stamp the assembly version without building it.

I think you have two options;

  1. do not sign the assembly and set specific version to false in the project where you have referenced it.

  2. create a Publisher Policy for the assembly and add bindingRedirect element to your configuration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM