如何在VS2010中创建新的项目类型? [英] How to create a new project type in VS2010?
问题描述
我已经找到了如何创建新的 template 的方法,但是我需要的功能更多.例如,当您单击运行"按钮时,我需要覆盖发生的情况-我希望它启动开发服务器,然后弹出打开我的Web浏览器.
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.
那么,如何添加全新的项目类型?并且最好是如何将其基于其他项目类型,例如IronPython?
So, how can I add an entirely new project type? And preferably, how can I base it on another project type, such as IronPython?
我知道ASP.NET MVC是开源的,并且与我尝试做的非常相似,但是我不确定我下载的源代码是否包含所有VS集成代码.我应该看哪个下载文件?
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?
推荐答案
这是我到目前为止发现的内容:
Here's what I've found so far:
- >下载: Visual Studio 2010 SDK -创建VSPackage(文件>新建项目>其他项目类型>可扩展性> Visual Studio包)需要使用此
- 教程:一个简单的托管项目系统
- MSDN:项目类型
- 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
- Visual Studio SDK项目
- Visual Studio SDK Projects
- Walkthrough: Part 1 - Creating a Basic Project System
- Walkthrough: Part 2 - Creating a Basic Project System
这篇关于如何在VS2010中创建新的项目类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
- Visual Studio SDK Projects