Updating VSTA Project Templates Tutorial


posted by Melody
03-04-2008

Downloads: 66
Views: 191
Updating VSTA Project Templates Tutorial

This tutorial gives step by step instructions on how to update a project template to mimic the ShapeApp sample templates which use a post build event to move add-in assemblies to %My Documents%\ShapeAppCSharp\AppAddIns. 

Files included:
    The video tutorial:  Updating VSTA Project Templates Tutorial.wmv  
    Project template descriptor file used in the tutorial:  ShapeAppCSharp Add-in.xml
    File used by the post build event in the tutorial:  InstallAddIn.js

The post build command used in the tutorial: 
cscript "$(ProjectDir)InstallAddIn.js" "$(TargetPath)" "ShapeAppCSharp\AppAddIns\$(TargetName)"


This tutorial can be used for VSTA v 1 and v 2.


Click here to watch on MSN vidoes.


Related blogs:
    Post Build Events in VSTA   
    Registering templates with the host application
    Moving and Organizing DLL’s to Make VSTA Integration Easier. Part II- Project Templates

Comments

Gary wrote Re: Updating VSTA Project Templates Tutorial
on 03-08-2008 11:55 AM
Looks good, Melody! There's a nifty trick in step 4 of "Creating Visual Studio Project Templates" (http://www.windowsdevcenter.com/pub/a/windows/2006/10/17/creating-visual-studio-project-templates.html?page=2) that avoids manual edits to project templates most of the time and preserves replaceable string parameters. I also noticed another good reference "Create Reusable Project And Item Templates For Your Development Team" http://msdn.microsoft.com/msdnmag/issues/06/01/codetemplates/default.aspx
med wrote re: Updating VSTA Project Templates Tutorial
on 09-26-2008 7:38 AM
hello GARY
Copyright Summit Software Company, 2008. All rights reserved.