Armed with some (what I think are good) ideas I'm trying to proof out some possible designs. Part of this is to load a Host Item into the DTE. I've gone through the steps I believe are necessary:
- Added a new class to my application's object model
- Created an updated proxy, adding the entryPoint="true" to this new class in addition to the primary class that is identified in the ProjectGen.exe screen.
- Added code to create a project from the template.
- Added code to Add the Host Item.
It's this las step that is causing the trouble because it wants a template file to use when creating the HostItemClass. I can't find any doco on how to make one of these. I tried just copying the one from my primary HostItem that ProjectGen created and updating the obvious stuff but that creates a number of run-time issues once I load it into the DTE.
What's the correct way to create a tempate file that the AddProjectHostItem() method will like?
Thx.