I’ve been a Windows developer since 3.0 and caught the Visual Basic wave early with v1. I’ve released a “production” application in every version of VB since then (except VB for DOS). Focusing on enterprise, line-of-business development I’ve built Call Center Applications, Mortgage finance systems, Customer Relationship Management tools and more recently I’ve been in the Litigation Support/Electronic Data Discovery/Electronically Stored Information space. Greg is a DZone MVB and is not an employee of DZone and has posted 436 posts at DZone. You can read more from them at their website. View Full User Profile

New Visual Studio 2010 SDK samples are available

02.20.2012
| 4043 views |
  • submit to reddit

Microsoft Developer Network - Samples - Visual Studio 2010 SDK Samples

Visual Studio 2010 is an integrated development environment (IDE) that allows you to develop a wide variety of software applications quickly and easily. The Visual Studio SDK provides a framework that you can use to extend the functionality of Visual

...

Visual Studio 2010 is an integrated development environment (IDE) that allows you to develop a wide variety of software applications quickly and easily. The Visual Studio SDK provides a framework that you can use to extend the functionality of Visual Studio 2010.

To get started first you will need to download and installed Visual Studio 2010 SP1 and the Visual Studio 2010 SDK. To work with the latest updates available install Visual Studio 2010 , Visual Studio 2010 Service Pack 1, and the Visual Studio 2010 SDK in the following order:

  1. Visual Studio 2010
  2. Visual Studio 2010 Service Pack 1
  3. Visual Studio 2010 Servcie Pack 1 SDK
  4. Visual Studio 2010 Visualization & Modeling SDK
  5. Visual Studio LightSwitch 2011 RTM Extensibility Toolkit

The Visual Studio 2010 SDK will help you extend all aspects of the Visual Studio IDE. These samples will help provide examples on how to extend the following areas of Visual Studio:

  • Adding menus and commands into the Menu system
  • Creating new Tool Windows
  • Extending the built in code editor
  • Creating new project and item templates
  • Creating and distributing custom controls
  • Adding new options in the Tools options dialog
  • Working with existing assests in project systems
  • Extending MSBuild
  • Creating new project systems
  • Managed, native and custom Debugger integration
  • Building and deploying applications with the Visual Studio 2010 Shell (Integrated or Isolated)

..."

So what are we talking about in this 30MB zip? Here a bullet list of the samples (I think my favorite is the Ook one... lol ;)

Sample Index
  • Build Progress Bar
  • VSSDK IDE Sample Menu And Commands
  • Single File Generator
  • Create a VSX Project SubType (CSVSXProjectSubType)
  • Add VS Toolbox item with custom tooltip (CSCustomizeVSToolboxItem)
  • Create a VSX Project SubType (VBVSXProjectSubType)
  • Customize VS Toolbox items in VS addin (CSVSAddInToolboxItem)
  • Project SaveAs VS extension (CSVSXSaveProject)
  • Basic VSPackage created in C# (CSVSPackage)
  • Host WPF control in VS ToolWindow (CSVSPackageWPFToolWindow)
  • Customize VS status bar in VSPackage (CSVSPackageStatusBar)
  • VSPackage custom tool window (CSVSToolWindow)
  • Operate on VS core editor in VSPackage (CSVSPackageInvokeCoreEditor)
  • Subscribe to VS shell command events in VS addin (CSVSAddInCommandEvents)
  • Create custom VS code analysis rule (CSCustomCodeAnalysisRule)
  • Customize the 'Add Reference' dialog in VSPackage (CSVSPackageAddReferenceTab)
  • VSPackage closes open file in VS (CSVSPackageCloseOpenedDocument)
  • Create custom VS code analysis rule (VBCustomCodeAnalysisRule)
  • Add VS Toolbox item with custom tooltip (VBCustomizeVSToolboxItem)
  • VSPackage state persisting (CSVSPackageState)
  • Monitor file change through VS Service (CSVSPackageMonitorFileChange)
  • Project SaveAs VS extension (VBVSXSaveProject)
  • Use TypeConverter in Option page of VS (CSVSPackageOptionPageWithTypeConverter)
  • Customize VS Toolbar in VSPackage (CSVSPackageToolbars)
  • Load all Toolbox items in an Assembly in VSPackage (CSVSPackageToolbox)
  • Get VS service from a background thread (CppVSGetServiceInBackgroundThread)
  • Visualization and Modeling SDK (DSL Tools) - Intro Lab
  • Ook Language Integration
  • VS2010 Spell Checker
  • Automate VS from outside VS IDE (CSVSAutomationOutsideIDE)
  • Sample setup program for shell applications
  • VSSDK IDE Sample Combo Box
  • VSSDK IDE Sample Editor with Toolbox
  • IronPython Integration
  • VSSDK IDE Sample Options Page
  • Editor in a Toolwindow
  • Reference.Services Sample
  • Visual Studio UML Link elements to slides, Word, files, diagrams
  • Designer View Over XML Editor
  • VSSDK IDE Sample Running Document Table (RDT) Event Explorer
  • VSSDK IDE Sample Tool WPF Tool Windows
  • Windows Forms Controls Installer
  • Code Sweep
  • Alpha Blend Toolbar
  • Highlight Word
  • Reference.Package
  • Todo Classification
  • Completion Tooltip Customization
  • Caret Fish Eye
  • CommandTargetRGB
  • Intra-text Adornment
  • IronPython Studio VS Shell Isolated
  • Diff Classifier
  • IronPython Integrated Shell
  • PkgDef Editor
  • ToDoGlyphFactory
  • UML - Rapid Entry using Text; and unit testing extensions
  • Typing Speed Meter
  • Effective XML Search
  • Inline XPS viewer adornment
  • DbgUnitTestFix Add-In that shuts down vsperfmon.exe after debugging unit tests.
  • Simple Example of Creating Word Document from a Modeling Project
  • Roslyn Code Issue with Tools Options Page
  • UML - Responding to changes in the model by using rules and events
References
Published at DZone with permission of Greg Duncan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)