Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Using a Registry Entry to Specify the DebugInfoExeName

    When a VSTA add-in is run or debugged from a stand alone or destructive scenario, the life of the host application is tied to the debugging or running session. In order to start the host application the VSTA add-in must know the location of the exe to run. This information is specified in the project...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 07-29-2010
  • Adding a Hidden File to a Project Template

    In many situations you want to add background code to a project template without exposing it to the end user. An easy way to do this is to add a hidden code file to the template. Here are the 6 steps to do this which are the same for both C# and VB templates: 1) Unzip the existing project template. 2...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 01-22-2009
  • VSTA Integration templates

    Templates to help automate VSTA v 2.0 integrations are now available. Run the included setup file to move the templates to the Visual Studio 2008 template caches (may need to restart Visual Studio for templates to work). Proxy Project- inlcude all files and post build event necessary to place the proxy...
    Posted to VSTA Samples (MediaGallery) by Melody on 09-29-2008
  • Proxy Versioning for Templates Sample

    This sample illustrates how to use Tight Versioning to specify which version of the proxy a project template should use. Goal: load add-ins which use a proxy from a previous OM after changing the OM. OM version changes (using same VSTA version): Example- ShapeAppBasicCSharp from VSTA v 2 Object Model...
    Posted to VSTA Samples (MediaGallery) by Melody on 08-15-2008
  • Proxy Versioning Options for Project Templates

    A common question is how to use versioning for the proxy assembly in add-ins. There are basically three different options (for VSTA v 2 see VB note below). Download Sample 1) No Versioning: Only the name of the assembly is used in the project template and the first assembly in the GAC matching this name...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 08-15-2008
  • ProjectGen Gotcha: Updating the Host Item Name when using a Project Descriptor File as Input

    On the third screen of ProjectGen there is an item to fill in titled “Host item name”. This item is used in two places in the project descriptor file and three places in projects based off the template: Project template descriptor file: Projects based off the template: Host Item Name Main code file Startup...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 06-12-2008
  • Updating VSTA Project Templates Tutorial

    There is a video tutorial available which shows how to update a VSTA project template to mimic the ShapeApp sample templates which use a post build event to move add-in assemblies to %My Documents%\ShapeAppCSharp\AppAddIns. Methods covered include manually updating the template, using Visual Studio to...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 03-04-2008
  • Project Template Potpourri

    I've been working a lot with project templates and ProjectGen lately. Here are some miscellaneous findings based on the VSTA v 2 CTP February 2008 release. ProjectGen does not find hosts registered in the Wow6432Node. This is a known issue with this build and is listed as fixed in the next release. To...
    Posted to Melody's VSTA Blog (Weblog) by Melody on 03-03-2008
Page 1 of 1 (8 items)
Copyright Summit Software Company, 2008. All rights reserved.