Personal tools
User menu

Knowledge Base/Python/IronPython

From Thalesians

Jump to: navigation, search


Using IronPython and Visual Studio 2005

The instructions by Aaron Marten were of great use.

IronPython will not work with Visual Studio 2003 or Visual Studio Express. You need Visual Studio 2005 (at least).

Step 1: Download Visual Studio 2005 SDK

In order to use IronPython with Visual Studio 2005 you need to download the latest release of the Visual Studio 2005 SDK (currently V4.0).

Step 2: Run IronPythonIntegration

Assuming you installed the SDK to the default location, you need to open the solution file under C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Samples\IronPythonIntegration from Visual Studio 2005. Then build-and-run it by hitting [Ctrl]+[F5].

This will open another Visual Studio 2005 window, but this Visual Studio process will be the experimental build of Visual Studio (which is nothing more than Visual Studio with another registry hive called the experimental hive. See this for more information.

You can later invoke it again by calling

 "(VisualStudioInstallPath)\Common7\IDE\devenv.exe" /RootSuffix Exp

Step 3: Creating an IronPython project

In this Visual Studio window you can go to File > New > Project... and select an IronPython project from the project types. You should be able to build-and-run a Python project generated in this manner (e.g. a Console Application). These are all IronPython applications.

  • This page was last modified on 21 September 2009, at 09:22.
  • This page has been accessed 5,861 times.