> ## Content Index
> Fetch the complete content index at: https://blog.tsd.digital/llms.txt
> Use this file to discover other available public pages before exploring further.

# Custom Visual Studio Build Events
- URL: https://blog.tsd.digital/custom-visual-studio-build-events/
- Published: 2008-12-15T18:21:37.000Z
- Updated: 2008-12-15T18:21:37.000Z
- Author: Tim Gaunt
- Tags: C#, Visual Studio, #Import 2025-04-01 05:37

I thought I'd share some festive "fun" today. For quite some time now I've hooked into the build events within Visual Studio but I think this is just taking it too far...

![](https://storage.ghost.io/c/64/5b/645b11c2-b436-444c-a523-58dca4ca7bd8/content/images/http://farm4.static.flickr.com/3200/3111244018_81f4661a0e_m.jpg)

Basically the script now increments the version number of the DLL (if relevant) automatically, times the time for the build and adds it to a total build time to date (stored in an external txt file) and finally prints out whether the build was a success or not -basically some of our projects are taking a while to build and I wanted something that was "clearer" ;)

I'm thinking about adding Christmas trees next, anyone know how to do them in ASCII?