I am trying to create a new project type in the visual studio .NET 2005.There is 28 step method is given for creation of the custom project. At one of the step it is talking about a dll microsoft.visualstudio.package.project. This dll is not available in the vsip. We have downloaded the visual studio 2005 SDK & installed. Please provide simple steps for the creation of the project type. Example of the code will also be helpfull.

Creating custom project
cdolo
The best sample we have at the moment around project systems is the IronPython sample, using the MPF.
That should get you to the point of showing files in the solution explorer. You'll then have to customize the project system to control what happens when a project file is selected, it sounds like you want an XML editing experience. You may need to create a custom editor at that point to get what you want. There are XML samples in the SDK as well, see XMLDesigner and, in the next CTP, XMLViewer.
clemens
For all those who are trying to create custom project type The New project type easily created by following this steps:-
1) Create a project & add the elements which u want to make appear when some one open or create a new type of project.
2) Now select file->export template follow the wizard it allow u to create new project type or new item type. The item type is one which appear when u try to add new item like XML file, window form, web form, html page etc.
3) At the completion of the wizard a template is created with .zip extension in My exported Template folder. This .zip file contain all the resources & meta data to create a project.
4) Now if u put this template in to ProjectTemplate or ItemTemplate folder then a new type will start appearing.
Normally the step4 automaticaly takes place...
For more information visit http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/
King Gamo
Do not, repeat do not build Package.Project as a standalone DLL with the current namespace and MS DLL name.
Thats unsupported and you are off on your own without a lifeline if you do that.
What you can do is incorporate the source into your own project in your own namespace and/or in your own DLL.
VOEagain
I am mostly concerned with an ISV inadvertantly creating a binary that looks like it is an MS binary.
Just so there are no namespace collisions its best to also change the namespace so that your bits can co-exist with our bits. SDK samples are a special case, but even there if we were going to have a 2nd sample that did what the IronPython sample does, we would have to make an adjustment somewhere.
JonM
Thanks for the reply.
For understanding VSIP i have gone through with some of the sample example for menu tool, solution explorer etc. For customizing look & feel there is only need to add some of the line on CTC file. It change the look.
Do we have some information around which give clear picture about the vsip custmization of the project type. Adding line at specific place in the ctc does not clear the whole picture about how it work. At which file do we need to write the code.
ds12will
C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Common\Source\CSharp\Project
Once you have included the project, add a refrence to it in the project where you define your new project type.
-Ian
mrferg
When we click new->project then a popup window called new project appeard. I want to create a new project type. The name of the project type will be customIns. when i create this type of project then some set of xml file should appear at the solution explorer. In the left hand side it should show a tree structure of the xml file which is selected in the right hand solution explorer. There should be tab editor appear in the middel.
So the first step is to create the custom project type. I am more concentrating towards some sample project, code or documentation because i am new to VSIP & it will help me to build the basic about how it works, what are the restriction etc(many such questions). So after this post i guess you will be more clear about my view. Please provide solution for the first step. I appriciate your precious feedback.
Tyler Frugia
I got the source code files on specified path. But there is no project file available only .cs & .resx files are there. Do i need to add all this file in to the VSIP project i am working on. I just want to create a new custom type of project do i need to include all this files. As i am very new to this VSIP please provide step wise process for creating custom project.
What is the diffrence between running application from experimental hive & normal visual studio 2005.
I have run some of the example projects of vsip. Now the addins created by these project appearing each time when i open experiment hive.
Please Provide detailed solution for the queries thanks a lot.
Ishai __________________________
After lot of R & D I have started creating custom project by creating a project template. I have created a project template by using export template wizard. It has created a zip file which contain metadata & diffrent files.
I also got following information that when these files are compressed into a .zip file and placed in the proper folder, Visual Studio automatically displays them in the My Templates section of the New Project and Add New Item dialog boxes.
Can it be possible to create a all together new project type like Visual C#, Visual Basic. Can this be done via project template Will it be possible to show only the item that is created by item template what is the right way to do all that
AuzzieFlyBoy
Are you concerned about the dll, the namespace, or both. I only ask because the IronPython example includes the source in their own dll, but does not change the namespace. I assume that is OK, right
-Ian
Miguel Tavares
Craig Lindstrom
After creating project type now I want to create custom editor. For custom editor creation i selected custom editor during creation of the visual studio integration project. Now it has created a basic editor in the form of editorPane. I have following queries now:-
1) There is one file MyEditor & another is editorPane. MyEditor class inherits RichTextBox &Object of MyEditor is created in the EditorPane class which it self implement number of interfaces. I want to open a default file in the editor how that can be done.
2) The EditorPane by defaule show a textBox1. Can we delete this text box & use diffrent tools availabe in the toolbox.
3) During running this project can we want to show our customize project structure in the solution explorer(Project Template is already present).
crystalreports
What sort of customization of a project system are you talking about
Menu/Command customization
CalBob
We intentionally do not provide the files to enable building Package.Project because you must incorporate it into your own dll and must not build and ship it as a separate stand-alone DLL.
The experimental hive is meant for development, the normal hive is meant for production. The experimental hive is where all SDK samples get installed. SDK samples are not add-ins, they are packages.
The SDK documentation describes the experimental hive, see ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.VSSDK.v80/dv_vsintegration/html/ead0df4e-6f88-4b42-9297-581b7902f050.htm