Click here to Skip to main content
11,796,394 members (71,557 online)
Rate this: bad
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 20:21pm

1 solution

Rate this: bad
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!
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 Maciej Los 570
1 Abhinav S 392
2 OriginalGriff 340
3 CPallini 269
4 KrunalRohit 249
0 OriginalGriff 2,012
1 Maciej Los 1,615
2 KrunalRohit 1,310
3 CPallini 1,015
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | 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