adding project template?

Last post 05-13-2008, 11:13 AM by Melody. 1 replies.
Sort Posts: Previous Next
  •  05-13-2008, 4:16 AM 1098

    adding project template?

    hi,

    please see following situation,

    we release ver1.0 VSTA application.

    we want to release next version of VSTA application, and project template is changed.

    both ver1.0 and ver2.0 sholud be executed well in same environment.

    I can refresh VSTA project template information like this :

    1) delete VSTA/appid in registry hive

    2) run vsta.exe /hoide appid /setup

    but because I think 1) delete many VSTA information ( i'm not sure )

    I want to just add newer project template ( not want to deletie old things and re register )

    is there any method to this problem?

    your help is greatly appreciated.

    thanks,

     


    yo man
  •  05-13-2008, 11:13 AM 1100 in reply to 1098

    Re: adding project template?

    yo man,

    >we release ver1.0 VSTA application.
    >we want to release next version of VSTA application
    You are updating the host (or just adding more templates) but staying with VSTA v 1 right? 

    >I can refresh VSTA project template information like this :

    >1) delete VSTA/appid in registry hive

    >2) run vsta.exe /hoide appid /setup

    If you are changing the ProjectTemplatesLocation, you need to delete the host context hive (...\VSTA\HostID) and run setup with the updated ProjectTemplatesLocation in the config hive (...\VSTAConfig\HostID).  If you are not making changing to the config hive then there is no need to delete the context hive.

    >I want to just add newer project template ( not want to deletie old things and re register )
    If you are only adding new templates (VSTA v 1), no need to delete the context hive.  Just put the new templates in the ProjectTemplatesLocation and run setup. 

    If you are adding new templates for VSTA v 2, be sure to use a different ProjectTemplatesLocation so that only the v1 templates show in the v1 DTE and only the v2 templates show in the v2 DTE.  Also, if you are adding new templates for v2 but not making any changes to v1 there is no need to delete the context hive.

    Hope this helps, please let me know if you have any questions.
    Thanks!
    -Melody
View as RSS news feed in XML