I have created a new ProjectSubtype, that works with both VB.Net and C#.
I would like to have additional Add Item templates available when my
ProjectSubtype is in use - I cannot seem to find any documentation
indicating how I can do this.
I tried using the ProvideProjectItemAttribute, but this does not apprear
to work.
Is this possible, or do I have to copy my item templates to the
appropriate VB and C# ItemTemplates folders in the Visual Studio
installation folders?
Thanks in advance for any assistance.
Stuart
"Gary Chang[MSFT]" - 06 Apr 2006 10:25 GMT
Hi Stuart,
To add a custom project item template in VS2005, you need a metadata file
(*.vstemplate) that Visual Studio uses to define how to display the project
item in the IDE, and the corresponding code file. Then compress these two
files into a .zip file and place it in a location recognized by Visual
Studio for custom project item templates. Please refer to the following
MSDN2 documentation for the detailed information:
How to: Manually Create Item Templates
http://msdn2.microsoft.com/en-us/library/ms247113(VS.80).aspx
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.