Automatic assembly version number management in VS2008

前端 未结 7 1855
广开言路
广开言路 2020-12-09 05:11

I have a VS2008 project written in c# with a number of assemblies. I\'d like to have a simple way of managing the version numbers between all of the different assemblies and

7条回答
  •  死守一世寂寞
    2020-12-09 05:46

    I use a .cs file on solution level that is linked by all projects in the solution which contains the following lines:

    using System.Reflection;
    [assembly : AssemblyVersion("1.2.3.*")]
    

    And be sure to remove the AssemblyFileVersion attribute from the AssemblyInfo file in your project.

提交回复
热议问题