This documentation is archived and is not being maintained.

IronPython Samples

Visual Studio 2005
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The IronPython extensibility sample is an end-to-end sample of how to integrate a managed language with Visual Studio.

Security noteSecurity Note

This sample code is provided to illustrate a concept and should not be used in production applications or Web sites, as it might not illustrate the safest coding practices. Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.

The IronPython extensibility sample is just a sample, and not a shipping product. Not all features are fully implemented. For example, you can remove a file from the Solution Explorer, but you cannot delete one there.

The IronPython language project system includes:

  • A project system.

  • A language service that demonstrates:

    • Extending the code editor with syntax coloring.

    • IntelliSense.

    • Dynamic Class View.

  • An interactive command window.

  • Windows Forms Designer integration.

The Windows Forms Designer integration connects the Windows Forms Designer to the IronPython CodeDOM. This lets you drag controls to the form, change to code view to see the generated code, change the code, and return to design view to see the resulting changes.


This sample consumes the IronPython implementation DLLs. To download the latest binaries, sources, or samples, see IronPython.

Because of the size of this sample, the documentation has been broken into several topics.

In This Section

IronPython Compiler Task Sample

Shows how to integrate IronPython with the MSBuild system.

IronPython Project System Sample

Models a managed project system.

IronPython Language Service Sample

Provides a full-featured language service that supports IronPython syntax coloring.

IronPython Console Window Sample

Explains how to create a console window that accepts IronPython commands and executes them.

IronPython Windows Forms Designer and CodeDOM Sample

Shows how to connect the Windows Forms Designer to the IronPython CodeDOM.

IronPython Web Site Support System

Demonstrates how to use IronPython as a Web programming language.

IronPython Deployment Sample

Demonstrate how to install a Visual Studio integration product on a user's computer.

Related Sections

Visual Studio Development Environment SDK

Introduces the Visual Studio SDK and discusses how to build products that run in and extend the Visual Studio integrated development environment (IDE).