Browse by Tags

All Tags » ShapeApp » VSTA v 2
  • Bit Lock During Out of Process Debugging Workaround

    During out of process debugging occasionally the pdb file becomes locked and prevents builds from finishing successfully.  The VstaDesignTimeIntegration.DeleteMacroPdb method, called in OnBuildBegin, is suppose to ensure that this does not happen by cycling until the bits are no longer locked, then deleting them.  Unfortunately this ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on August 4, 2008
  • Events in VSTA Part IV: Unloading Add-ins that do not Unhook from Events

    As mentioned in Part III, any events an add-in hooks into should be unhooked in the add-in, presumably in the Shutdown method.  Unfortunately, if the add-in does not unhook from an event this can cause problems- namely that the host application will continue to attempt to reach the add-in code when the event is raised. To prevent ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on May 16, 2008