Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Info from C# and VB

Generates a C# or VB ThisAssembly class that contains static information about the build environment. Use it e.g. to construct your AssemblyVersion:

[assembly: AssemblyVersion ("1.0.0." + ThisAssembly.BuildEvn.BuildId)]

Currently available are:

Available MSBuild customizations:

  • $(BuildInfoThisAssembly): set to 'false' to prevent assembly metadata and constants generation.

  • $(BuildInfoAssemblyMetadata): set to 'false' to prevent assembly metadata generation only. Defaults to 'false'.

  • $(BuildInfoAssemblyNamespace): allows overriding the namespace for the ThisAssembly class. Defaults to the global namespace.

This was inspired by GitInfo which uses the same generation process and can easly be used alongside BuildInfo (https://github.com/kzu/GitInfo).

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages