Results 1 to 4 of 4

Thread: Adding new Item to “Add New Item” Dialog in Visual Studio 2010

  1. #1
    Join Date
    Apr 2010
    Posts
    51

    Adding new Item to “Add New Item” Dialog in Visual Studio 2010

    Hi friends, I currently installed Visual Studio 2010 on to my system. I had the problem regarding it, that how to add new item in the “Add New Item” dialog box in VS 2010. I search it on the web about the related topics. I found that how the Iron Python Studio 2010 register the items to the system. But I was unable to find the codes for it. I was also unable to find the”Add Item” registry entries for Iron Python Visual Studio 2010. But IronPython works. Then I try to register the entries manually but the new item box does not show any kind of entry. I want to know whether how to add new items in to it.

  2. #2
    Join Date
    Nov 2008
    Posts
    1,514

    Re: Adding new Item to “Add New Item” Dialog in Visual Studio 2010

    IN Visual Studio the linked documents says how to add Visual Studio style templates, this was there in the older version of the VS. The latest recommendation also makes use of the VSformat that IP uses as well. To add the Visual template, you just have to register your type of the project using Provide Project Factory Attribute on your project package. After this you can place the template in the sub folders as Common7\IDE\(ProjectTemplates|ItemTemplates)\<ProjectType>\....if you are not able to get it then you can go to the Microsoft library.

  3. #3
    Join Date
    Mar 2009
    Posts
    1,360

    Re: Adding new Item to “Add New Item” Dialog in Visual Studio 2010

    If you are trying to add the Zip file manually, then you have to execute the equivalent of devenv.exe for your related isolated shell application to install the new templates correctly. Now you will appear new item templates same as that of the new project template. What toy want is to make sure that they are deployed Common7\IDE\ItemTemplates\<projecttype> in place of Project Templates directory. After this it again require setup to be run after they are copied for the purpose of the first time.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,185

    Re: Adding new Item to “Add New Item” Dialog in Visual Studio 2010

    If you want to try to add the custom items to Add New Item Dialog Box then add the items directly to the directory called “Adding Items to the Add New Item Dialog Boxes”. This directory is present in the sub directories. They are Visual Studio SDK> Visual Studio Development Environment SDK > Projects and Solutions > Projects > Project Types > Adding Project and Project Item Templates > Adding Items to the Add New Item Dialog Boxes. In this directory add the custom items.

Similar Threads

  1. Replies: 6
    Last Post: 29-03-2012, 02:56 PM
  2. Replies: 2
    Last Post: 16-02-2011, 02:49 PM
  3. Replies: 6
    Last Post: 03-08-2010, 09:42 AM
  4. Adding an Attachment to a List Item Programmatically in SharePoint
    By bijayani in forum Software Development
    Replies: 2
    Last Post: 30-06-2010, 12:06 PM
  5. Compare Visual Studio 2010 and Visual Web Developer Express
    By Zacharia in forum Software Development
    Replies: 5
    Last Post: 28-01-2010, 04:27 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,954,994.16057 seconds with 17 queries