Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a new project type in VS2010?

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?

like image 775
mpen Avatar asked Sep 14 '10 22:09

mpen


People also ask

How do I create a new project in VSS?

When you first open Visual Studio, the start window appears, and from there, you can select Create a new project. If the Visual Studio development environment is already open, you can create a new project by choosing File > New > Project on the menu bar.


1 Answers

Here's what I've found so far:

  • Download: Visual Studio 2010 SDK -- You need this to create a VSPackage (File > New Project > Other Project Types > Extensibility > Visual Studio Package)
  • Tutorial: A Simple Managed Project System
  • MSDN: Project Types
    • MSDN: Project Subtypes
  • Getting Started with Extending Visual Studio
    • Visual Studio SDK Projects
      • Walkthrough: Part 1 - Creating a Basic Project System
      • Walkthrough: Part 2 - Creating a Basic Project System
like image 94
mpen Avatar answered Sep 21 '22 12:09

mpen