开发者

How to develop Add-In/Extensions for Visual Studio 2010 [Source / Reference]

I'm thinking of developing a tool that runs under Visual Studio 2010 and am struggling to find sample applications, source codes, and especially handout开发者_JAVA技巧s that help in this journey.

I wonder if anyone would have any recommendation of material, or website. Thanks


Yes, please look into VSPackages, by far the easiest and best way to extend upon VisualStudio 2010.

http://msdn.microsoft.com/library/bb286983(VS.100).aspx

It's actually incredibly easy: Just open the New Project dialogue in Visual Studio and select Visual C#->Extensibility-> Visual Studio Package.

Then look into APIs like the DTE (Design Time Extensibility).

Have fun :)

Edit: Further learning can be found in Open Source projects which I mentioned in the comments: AllMargins: An extension that replaces the scroll bar. http://code.msdn.microsoft.com/OverviewMargin/Release/ProjectReleases.aspx?ReleaseId=3957 And MetalScroll which does the same and is for VS2008 as an Add-In: http://code.google.com/p/metalscroll/

The concepts of using the DTE are the same everywhere.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜