Click here to Skip to main content
11,411,494 members (64,283 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VisualStudio2010
I have recently been assigned a task to create an Item Template for web projects and embed in Visual Studio so that other developers can use it. Basically its a sort of generic Template, meaning that any Website or Web Application can add it in their project as a new Item.

I am following the blogs on msdn they do have articles on this but they create item templates from existing projects. They create a new Demo Project, select files they want to add as item templates then export them while choosing the Demo project. I don't need item templates for a specific project. I want the user to create a new website/web application then add my custom item template as a new item in their projects.

Please help me out on this...
Posted 16-Dec-12 21:21pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I haven't tried this myself, but it should be just a matter of creating the files in the right place for VS to pick up.
If you have a look here: Adding your items to Visual Studio default files[^] and here: Create Visual Studio forms for items you frequently use[^] they should give you the basic idea - you will have to "play" a bit until you find the right folders, I suspect!
  Permalink  
Comments
Jaunty Ibbi at 19-Dec-12 2:19am
   
thanks for the reply OriginalGriff, I find your links useful

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 223
1 Sergey Alexandrovich Kryukov 195
2 Sascha Lefévre 155
3 ProgramFOX 90
4 Dave Kreskowiak 90
0 Sergey Alexandrovich Kryukov 8,920
1 OriginalGriff 7,128
2 Maciej Los 3,440
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100