For those that don't like too much of C#, perhaps you should look at this post:

http://blogs.msdn.com/shawnhar/archive/2...build-time.aspx