How to use IronPython with Visual Studio 2008

Jasim picture Jasim · Feb 2, 2009 · Viewed 11.6k times · Source

I've tried using the IronPython integration extension provided by Microsoft. But it does not work with Visual Studio 2008.

Is there a proper VS 2008 IDE extension for IronPython?

Answer

sblom picture sblom · Feb 26, 2009

For IronPython 1.1 support (whose syntax mirrors CPython 2.4), I successfully built and installed the sample from the Visual Studio 2008 SDK 1.0 with the Professional Edition of Visual Studio 2008 SP1. It will work with any edition from Standard up to Team Suite. It definitely won't work with Express Edition due to limitations built in to Express.

For IronPython 2.0 (whose syntax mirrors CPython 2.5), there is currently no good way to write and debug under Visual Studio 2008, and unfortunately, it would be a significant undertaking to adapt IronPython Studio to host IronPython 2.0--one of the big updates in IronPython 2.0 was to base it on the Dynamic Language Runtime, and this breaks the tricks for enabling IntelliSense that were used previously such as static compilation.