How to create a new project type in VS2010?
Asked Answered
S

2

13

I've figured out how to create a new template, but I need a little more power than that. I need to override what happens when you click the "Run" button for example -- I want it to fire up a development server and then pop open my web browser.

So, how can I add an entirely new project type? And preferably, how can I base it on another project type, such as IronPython?

I know ASP.NET MVC is open source and is quite similar to what I'm trying to do, but I'm not sure if the source I downloaded includes all the VS integration code. Which download should I be looking at?

Saith answered 14/9, 2010 at 22:54 Comment(0)
P
2

What you want to do is create a project subtype / flavor. It will give you the control you need to customize this and other actions. But it is a fairly involved process that can't really be summed up in a SO answer box. But here's the main documentation page on the subject

Please do post back with any road blocks you hit.

Personalty answered 14/9, 2010 at 23:7 Comment(1)
I need to create a new project type , not a subtypeCresset

© 2022 - 2024 — McMap. All rights reserved.