Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / April 2006

Tip: Looking for answers? Try searching our database.

Providing Item Templates for my ProjectSubtype only

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stuart Carnie - 05 Apr 2006 18:21 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.