Roy Osherove

View Original

Adding pre and post build events for VB.Net projects

Avner told me the other day that he found a way  to add pre and post build events supports to VB.Net projects (which is a shame that they don't have them as default like C#). His way was to use the Macro capability of Vs.Net and hook to build events. He wanted to make an add-in that does that. Turns out there is a working sample of exactly such a thing, and much more, from Microsoft. Yep - get all that and more at the Visual Studio .NET 2003 Automation Samples page. Thanks for finding this link Avner!