Hi,
I am generating VB source code with a compiler that processes
interface descriptions. I'd like to add something to the VB.NET
project for the a program that automatically calls the compiler
before every build.
In C++ and C#, that's not a problem: with
VC++, I can directly add the dependencies on the interface
description files to the project, together with a custom-build
step that recompiles the interface description files if they
are newer than the source files that are compiled from them.
With C#, it's not quite as easy, but at least I can defined
a pre-build event that is executed every time a project is
built, and pass it some arguments, such as the projet name and
build directory.
I haven't been able to find similar functionality for Visual Basic
..NET. Apparently, there isn't even a simple pre-build step that
I could configure.
So, I'm looking for a simple solution to this. As a minimum, I'd
need to be able to have a command invoked automatically every time
a build is started, with the ability to pass a few parameters about
the project to the command (build directory and project name, as a
minimum).
Anyone have suggestions for a simple way to do this?
Thanks,
Michi.