Updating assemblyinfo

by  |  01-Oct-2017 23:29

updating assemblyinfo-27

There is a fair bit of info in the docs about version incrementing and how to use Git Version. show Num=1178 explains quite a bit of the broader topic There is a fair bit of info in the docs about version incrementing and how to use Git Version.

// Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: [assembly: Assembly Version("1.0.*")] //[assembly: Assembly File Version("1.0.0.0")] ).

Navigate to your Common file but instead of clicking Add, click the little down-arrow next to add and choose “Add as Link.” You should see a little link graphic similar to this: We’ve actually reduced complexity a lot already, because if you build all of your assemblies will have the same common info, including the product name and our static (fake) assembly version.

Let’s take this one step further and introduce a build script.

For example, [assembly: Assembly Version("2.3.25.1")] indicates 2 as the major version, 3 as the minor version, 25 as the build number, and 1 as the revision number.

Community Discussion