Xtext-based Service IDL (Interface Definition Language) and Code Generators for Protobuf, C++, Java and .NET
Eclipse Public License 2.0
8
stars
8
forks
source link
Generate version information for .NET assemblies #236
Closed
sigiesec closed 5 years ago
Information from @claasd (http://jira.e-konzern.de/browse/BOPINFRA-539):
You need to put the following line onto any AssemblyInfo.cs (or SharedAssemblyInfo.cs):
Replace major, minor and bugfix with the actual version numbers. AssemblyVersion should NOT contain the bugfix number (See e.g. http://www.jaylee.org/post/2010/07/18/Version-Properly-using-AssemblyVersion-and-AssemblyFileVersion.aspx)
the last digit will be set automatically to the build number, the +xx in the InformationalVerison will be replaced with the git commit hash: http://wiki.e-konzern.de/display/BOPINFRA/Jenkins