Skip to content

Instantly share code, notes, and snippets.

@painejake
Created September 3, 2011 10:52
Show Gist options
  • Save painejake/1191002 to your computer and use it in GitHub Desktop.
Save painejake/1191002 to your computer and use it in GitHub Desktop.
Git Revision with .NET and C#
[AttributeUsage(AttributeTargets.Assembly)]
public class AssemblyGitBuild : Attribute
{
public string gitBuild { get; private set; }
public AssemblyGitBuild(string txt) { gitBuild = txt; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment