Skip to content

ChristophHornung/BuildInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published