B
Bob Altman
Hi all,
I have a solution that contains a bunch of projects. When I save a file in any
of the projects in this solution, I want to execute a macro that updates the
project's assembly version. But I only want this behavior for this one
solution. Is there a way to have a Macro that fires for environment events only
for a particular solution? (I guess I could have the event handler check to see
if this is the desired solution before doing anything, but that's kind of a
backward way of going about it. But maybe that's the Zen of macros.)
On a related subject: Optimally, I would like to have the macro use some
constants defined in an assembly in the solution when it updates the assembly
version numbers. This means that the macro needs to have a reference to
assemblies in this one solution, which is really tacky. Any thoughts or
suggestions?
Bob
I have a solution that contains a bunch of projects. When I save a file in any
of the projects in this solution, I want to execute a macro that updates the
project's assembly version. But I only want this behavior for this one
solution. Is there a way to have a Macro that fires for environment events only
for a particular solution? (I guess I could have the event handler check to see
if this is the desired solution before doing anything, but that's kind of a
backward way of going about it. But maybe that's the Zen of macros.)
On a related subject: Optimally, I would like to have the macro use some
constants defined in an assembly in the solution when it updates the assembly
version numbers. This means that the macro needs to have a reference to
assemblies in this one solution, which is really tacky. Any thoughts or
suggestions?
Bob