when you switched between Debug and Release did you build the Release?
It they are both up to date, then when you switch between them nothing will
happen so the post build steps that include the registration don't run.
I usually force the compile of a single modue, then click build just to get
it to register dll. Optionally you could just create batch files to do it
and have shortcuts on the desktop, or create additional projects in your
solution with just pre/post build just to register the needed dll, set them
to not build automatically, but then build them as needed to do the
registration.
Another idea ... write a studio extension to add a menu/toolbar to do them.
Good Luck,
Scott
[quoted text, click to view] "dcaputi@optonline.net" wrote:
> [VS.net 2003]
>
> When changing from Debug to Release (or visa-versa) the build command
> does not do the necessary registration (i.e. regsvr32 the target dll)
> if the project is up to date.
>
> Is there any way to make this smarter?
>
> - Dan C.
>