<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Aaron Marten : IronPython</title><link>http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx</link><description>Tags: IronPython</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Lang .NET Talk</title><link>http://blogs.msdn.com/aaronmar/archive/2008/02/20/lang-net-talk.aspx</link><pubDate>Wed, 20 Feb 2008 19:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7819864</guid><dc:creator>aaronmar</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/7819864.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=7819864</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=7819864</wfw:comment><description>&lt;p&gt;A few weeks ago, &lt;a href="http://blogs.msdn.com/cbrochu/default.aspx"&gt;Carl Brochu&lt;/a&gt; and I had the incredible opportunity to speak at the &lt;a href="http://langnetsymposium.com/overview.asp"&gt;2008 Lang .NET Symposium&lt;/a&gt; that was hosted here on the main Microsoft campus (alongside some &lt;a href="http://langnetsymposium.com/speakers.asp"&gt;much more well-known folks in the software industry&lt;/a&gt;). Our talk was titled "Integrating Languages in the Visual Studio Shell" and covered the basics of adding your own custom language to Visual Studio. We also demonstrated the array of possibilities around creating a custom-branded IDE with the Visual Studio Shell.&lt;/p&gt; &lt;p&gt;If you're considering adding a language to VS (or just want to know what's involved), this talk would be a great place to start.&lt;/p&gt; &lt;p&gt;The &lt;a href="http://langnetsymposium.com/talks.asp"&gt;recordings of the talks&lt;/a&gt; are now available for your viewing pleasure. You will need the &lt;a href="http://www.microsoft.com/silverlight/downloads.aspx"&gt;Silverlight 1.0&lt;/a&gt; plugin in order to view them.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7819864" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Managed+Language+Tools/default.aspx">Managed Language Tools</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/VSX/default.aspx">VSX</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+Shell/default.aspx">Visual Studio Shell</category></item><item><title>IronPython Studio</title><link>http://blogs.msdn.com/aaronmar/archive/2007/12/12/ironpython-studio.aspx</link><pubDate>Wed, 12 Dec 2007 23:00:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6750562</guid><dc:creator>aaronmar</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/6750562.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=6750562</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=6750562</wfw:comment><description>&lt;p&gt;Ever since we first released the IronPythonIntegration sample in the Visual Studio SDK, one of the constant requests we receive is along the lines of &amp;quot;where can I download and install it without having to build it?&amp;quot;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.codeplex.com/IronPythonStudio"&gt;IronPython Studio&lt;/a&gt; is the IronPythonIntegration sample running in an instance of the Visual Studio Shell. Very cool!&lt;/p&gt;  &lt;p&gt;Check it out if you want to run IronPython in an IDE with debugger, colorization, console window, etc...&lt;/p&gt;  &lt;p&gt;...and you don't need to buy Visual Studio Standard/Pro/etc to run it&lt;/p&gt;  &lt;p&gt;...and it's free&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6750562" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/VSX/default.aspx">VSX</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+Shell/default.aspx">Visual Studio Shell</category></item><item><title>Why can't I show the "Add New Items" dialog in a WPF flavored project?</title><link>http://blogs.msdn.com/aaronmar/archive/2007/08/31/why-can-t-i-show-the-add-new-items-dialog-in-a-wpf-flavored-project.aspx</link><pubDate>Fri, 31 Aug 2007 19:04:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4671328</guid><dc:creator>aaronmar</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/4671328.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=4671328</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=4671328</wfw:comment><description>&lt;p&gt;If you've downloaded and tried out the IronPythonIntegration sample in the July/August 2007 CTP of the VSSDK, you may have noticed the addition of WPF project support for IronPython projects. We've had questions from folks also trying to add this support to their project systems around trouble getting the "Add New Item" dialog to appear. Indeed, you'll notice that this is also not working in the IronPythonIntegration sample. In the spirit of openness and airing dirty laundry, here's an explanation of the issue(s) as well as what you can do about it today, and when Visual Studio 2008 is released:&lt;/p&gt; &lt;h4&gt;So, what's the story here?&lt;/h4&gt; &lt;p&gt;In short, the IronPythonIntegration sample isn't quite correct in the implementation we shipped in the July/August CTP. When Visual Studio needs to bring up the "Add New Item" dialog, it needs to know which item templates it should show. For example, you wouldn't want to see C# specific items appear if you were working on a Visual Basic project. Before showing the dialog, VS will query the project system for the VSHPROPID_AddItemTemplatesGuid property. The GUID that gets returned tells Visual Studio which templates to show.&lt;/p&gt; &lt;p&gt;Since the WPF flavor doesn't know about non-Microsoft project systems&amp;nbsp;that it might be flavoring, it can't possibly know what GUID in advance to return here. As such, the correct way to do this is to provide your &lt;strong&gt;own flavor that sits atop the WPF flavor&lt;/strong&gt;. Doing this allows you to override GetGuidProperty and return the proper value to Visual Studio. &lt;em&gt;The version of the IronPython sample in the latest CTP does not show this.&lt;/em&gt;&lt;/p&gt; &lt;h4&gt;When will the IronPythonIntegration sample show this properly?&lt;/h4&gt; &lt;p&gt;Our next release of the Visual Studio 2008 SDK will show how to do this correctly.&lt;/p&gt; &lt;h4&gt;Can I get this working for my language in Visual Studio 2008 Beta 2?&lt;/h4&gt; &lt;p&gt;Yes, but that depends on your definition of "working". &amp;nbsp;:-) &amp;nbsp;The problem here is that in Beta 2, the WPF Flavor used a deprecated version of&amp;nbsp;the&amp;nbsp;classes that allow you to&amp;nbsp;do "flavored" projects in C#. Your language-specific WPF flavor would also need to use the old classes (FlavoredProjectFactory/FlavoredProject) in Beta 2. In the upcoming final release of VS 2008, the WPF flavor uses the new classes (FlavoredProjectFactoryBase/FlavoredProjectBase), and your language-specific flavor would need to match it. &lt;/p&gt; &lt;p&gt;I only mention the definition of "working" because the old classes have some known bugs around the way they handle COM-aggregation behind the scenes. The bugs could cause your product to crash Visual Studio under certain situations. The new classes which will need to be used at RTM do not have these problems.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4671328" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/VSX/default.aspx">VSX</category></item><item><title>IronPython Integration Sample and the WPF Designer</title><link>http://blogs.msdn.com/aaronmar/archive/2007/08/01/ironpython-integration-sample-and-the-wpf-designer.aspx</link><pubDate>Thu, 02 Aug 2007 02:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4178074</guid><dc:creator>aaronmar</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/4178074.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=4178074</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=4178074</wfw:comment><description>&lt;P mce_keep="true"&gt;&lt;STRONG&gt;[Update Jan 04, 2008: Made &amp;lt;system.codedom&amp;gt; instructions more clear. Thanks to Cory Bloyd for the suggestion.]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you've had the opportunity to work with WPF/.NET 3.0&amp;nbsp;yet, you've likely run into the &lt;A href="http://msdn2.microsoft.com/en-us/library/ms752309.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms752309.aspx"&gt;x:Class attribute&lt;/A&gt; in XAML. If you specify a x:Class on a XAML page, during compilation the XAML compiler creates a class in code&amp;nbsp;using the registered CodeDomProvider for the given language that you're compiling. This presented some challenges for getting the IronPython sample to work with the new designer. There were two major problems:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;The IronPython CodeDomProvider is not registered globally on the machine.&lt;/STRONG&gt; This is required for the XAML compiler&amp;nbsp;to be able to instantiate a new CodeDomProvider for the langauge. We didn't need this in WinForms, since all the CodeDom manipulation happens in the WinForms designer. In WinForms at compile time, you're compiling already-generated code. 
&lt;LI&gt;&lt;STRONG&gt;IronPython 1.1 does not support compiling to .NET-consumable types&lt;/STRONG&gt;. The types that are produced are consumable from within an IronPython context, but you can't effectively use the assemblies that are produced from another .NET language (like VB/C#, etc...). &lt;EM&gt;The&amp;nbsp;problem with WPF and IronPython 1.1&amp;nbsp;comes in&amp;nbsp;at runtime when an attempt is made to instantiate the type you declared in the x:Class attribute.&lt;/EM&gt; Since we wanted to remain on the IronPython 1.1 codebase, and the IronPython folks didn't want to add a full static type compiler (for obvious and very good reasons), we needed to work around this limitation.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;For the first issue, the most simple and reliable way to do this is simply have the user of the sample manually register the IronPython CodeDomProvider in your machine.config file. Here are the instructions from the ReadMe to get this working:&lt;/P&gt;
&lt;H6&gt;&lt;/H6&gt;
&lt;P&gt;When building an IronPython WPF Application, you may receive the following error message: Unknown build error, 'Object reference not set to an instance of an object'. In order for XAML compilation to succeed, a valid CodeDomProvider is required to be registered on the machine for the language being compiled. Because this is a global machine configuration setting, the IronPython sample does not attempt to register the IronPython CodeDomProvider automatically. In order to register the IronPython CodeDomProvider manually and build IronPython/WPF projects with Visual Studio or MSBuild, you can do the following: 
&lt;UL&gt;
&lt;LI&gt;Open %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config in a text editor (such as Notepad) 
&lt;LI&gt;Add the following to register the IronPython CodeDomProvider &lt;STRONG&gt;&lt;U&gt;as a direct&amp;nbsp;child of the root &amp;lt;configuration&amp;gt; node&lt;/U&gt;&lt;/STRONG&gt;: &lt;BR&gt;&amp;lt;system.codedom&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;compilers&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compiler language="py;IronPython" extension=".py" type="IronPython.CodeDom.PythonProvider, IronPython, Version=1.1.0.0, Culture=neutral, PublicKeyToken=4afbdc4d950a9602" /&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/compilers&amp;gt;&lt;BR&gt;&amp;lt;/system.codedom&amp;gt; 
&lt;LI&gt;Close &amp;amp; Save machine.config &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;For the second issue, we had to be a little more creative. By default, the WPF Designer (code-named Cider) will attempt to use a CodeDomProvider to do event handler generation if you have one for your language. In fact, if you have a CodeDomProvider that is good enough to work with Windows Forms and you support static .NET type compilation, you should be able to get the WPF designer working with almost no problems.&lt;/P&gt;
&lt;P&gt;Fortunately, Cider also supports an extensibility mechanism in case you don't provide a CodeDom and wish to override the event handler generation. To do this, you need to implement a custom EventBindingProvider. The one that is included in the IronPython sample is called PythonEventBindingProvider.&amp;nbsp;It should be noted that for most languages, &lt;STRONG&gt;you don't need to write your own EventBindingProvider like we did for IronPython&lt;/STRONG&gt;. We only did this for Python to work around the static compilation issue.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4178074" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/VSX/default.aspx">VSX</category></item><item><title>Visual Studio 2008 Beta 2 SDK Released</title><link>http://blogs.msdn.com/aaronmar/archive/2007/07/31/visual-studio-2008-beta-2-sdk-released.aspx</link><pubDate>Wed, 01 Aug 2007 06:42:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4159740</guid><dc:creator>aaronmar</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/4159740.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=4159740</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=4159740</wfw:comment><description>&lt;p&gt;We've just released a version of the Visual Studio 2008 SDK targeting Beta 2. You can go &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d9000e2c-bd3f-4717-a181-723960814e16&amp;amp;displaylang=en"&gt;grab it here&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;One of the things that we've added to this release is limited support for the &lt;strong&gt;WPF Designer with IronPython&lt;/strong&gt;. There are some interesting things we had to do to get this to function properly that I'll write more about tomorrow.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4159740" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/VSX/default.aspx">VSX</category></item><item><title>Visual Studio 2005 SDK - December 2006 (CTP)</title><link>http://blogs.msdn.com/aaronmar/archive/2006/12/11/visual-studio-2005-sdk-december-2006-ctp.aspx</link><pubDate>Mon, 11 Dec 2006 18:46:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1259740</guid><dc:creator>aaronmar</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/1259740.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=1259740</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=1259740</wfw:comment><description>&lt;p&gt;Last Friday, our team shipped the December 2006 CTP of the Visual Studio 2005 SDK. You can get the CTP at &lt;a href="http://www.vsipmembers.com/"&gt;http://www.vsipmembers.com/&lt;/a&gt; (free registration required).&lt;/p&gt; &lt;p&gt;This is a CTP of our upcoming version 4 release which should be finalized around February 2007.&lt;/p&gt; &lt;p&gt;Some of the highlights of this CTP:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;IronPython WebSite &amp;amp; Web Application Project improvements (especially around intellisense, inline script blocks, debugging)&lt;/li&gt; &lt;li&gt;Setup - While the SDK is still a ~120 MB download, the local documentation is now an optional component if you prefer using only online MSDN documentation. Keep in mind though that local documentation is updated for each CTP, but the online documentation is only published every 3-4 months when we produce a "release" version of the SDK.&lt;/li&gt; &lt;li&gt;DSL Tools update (mostly bug fixes from what I understand)&lt;/li&gt; &lt;li&gt;Toolbar ComboBox Sample&lt;/li&gt; &lt;li&gt;Controls Sample : Now demonstrates integration of Help 2.0 (DExplore) content with controls&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1259740" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category></item><item><title>IronPython for ASP.NET</title><link>http://blogs.msdn.com/aaronmar/archive/2006/11/02/ironpython-for-asp-net.aspx</link><pubDate>Thu, 02 Nov 2006 23:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:936521</guid><dc:creator>aaronmar</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/936521.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=936521</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=936521</wfw:comment><description>&lt;P&gt;&lt;A href="http://lists.ironpython.com/pipermail/users-ironpython.com/2006-November/003921.html" mce_href="http://lists.ironpython.com/pipermail/users-ironpython.com/2006-November/003921.html"&gt;Mahesh from the IronPython team has just announced&lt;/A&gt; the release of &lt;A href="http://www.asp.net/ironpython/default.aspx?tabid=62" mce_href="http://www.asp.net/ironpython/default.aspx?tabid=62"&gt;IronPython for ASP.NET (CTP)&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I had the opportunity to&amp;nbsp;see the team give a dry run of their presentation for TechEd Europe this morning along with some demos of the CTP. What they showed was nothing short of spectacular! With this release, you can create web sites in Visual Studio (or Visual Web Developer Express) which give you not only the dynamic language features of Python, but the power of the classes in the .NET Framework and ASP.NET as well.&lt;/P&gt;
&lt;P&gt;[Just a side note to clear up any potential confusion...this release shares some source code with the IronPythonIntegration sample that ships in the Visual Studio 2005 SDK, but they are not the same product.]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A hearty congratulations to the ASP.NET and IronPython teams!&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=936521" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category></item><item><title>IronPython 1.0 has shipped!</title><link>http://blogs.msdn.com/aaronmar/archive/2006/09/08/ironpython-1-0-has-shipped.aspx</link><pubDate>Fri, 08 Sep 2006 20:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:746570</guid><dc:creator>aaronmar</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/746570.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=746570</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=746570</wfw:comment><description>&lt;P&gt;As &lt;A href="http://blogs.msdn.com/hugunin/archive/2006/09/05/741605.aspx" mce_href="http://blogs.msdn.com/hugunin/archive/2006/09/05/741605.aspx"&gt;has been announced&lt;/A&gt; all over the Internet, the &lt;A href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython" mce_href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython"&gt;IronPython team&lt;/A&gt; shipped their 1.0 release this past week. As a big fan and user of IronPython, let simply say Congratulations to the team!&lt;/P&gt;
&lt;P&gt;For all those times where there was some new .NET API or class that I needed to learn and experiment with, I used to fire up VS and create a simple C# WinForms or Console application. No longer! I now just fire up ipy.exe and new up some objects.&lt;/P&gt;
&lt;P&gt;As a note about the VSSDK and IronPython 1.0...our latest CTP release (August 2006) was locked down in late July 2006, and as such, does not have the final 1.0 IronPython bits. However, for our "RTM" quality version 3 of the VS 2005 SDK, we will be shipping IronPython 1.0 inside it for the IronPythonIntegration sample. &lt;STRONG&gt;&lt;U&gt;This RTM Version 3 of the SDK which includes IronPython 1.0 bits&amp;nbsp;will be the September 2006 version and should hit the web sometime before the end of September.&lt;/U&gt;&lt;/STRONG&gt; We're going through final testing and security reviews now, so the end is in sight.&lt;/P&gt;
&lt;P&gt;In the meantime, I would highly encourage anyone working on any project related using the .NET framework to check our IronPython. As a start, I also recommend the excellent tutorial that is included in IronPython.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=746570" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category></item><item><title>Visual Studio 2005 SDK - August 2006 CTP now available</title><link>http://blogs.msdn.com/aaronmar/archive/2006/08/03/visual-studio-2005-sdk-august-2006-ctp-now-available.aspx</link><pubDate>Fri, 04 Aug 2006 03:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:688045</guid><dc:creator>aaronmar</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/688045.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=688045</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=688045</wfw:comment><description>&lt;P&gt;&lt;A href="http://affiliate.vsipmembers.com/downloads/69/UserFileDownload.ashx" mce_href="http://affiliate.vsipmembers.com/downloads/69/UserFileDownload.ashx"&gt;http://affiliate.vsipmembers.com/downloads/69/UserFileDownload.ashx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Some of the new features include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;New Powertoys (Extensibility Explorer, VC++ Snippet Support, SuperDiff)&lt;/LI&gt;
&lt;LI&gt;Enhancements to IronPython web integration&lt;/LI&gt;
&lt;LI&gt;RDT Explorer Sample&lt;/LI&gt;
&lt;LI&gt;DocView Editor Sample&lt;/LI&gt;
&lt;LI&gt;Managed Language Tools / ManagedMyC Sample&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I'll have some more to write about the managed language tools and ManagedMyC in a day or two. In the mean time, check out the latest CTP! This will be the last CTP before the final VSSDK V3 release which should be available in mid-September.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=688045" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Managed+Language+Tools/default.aspx">Managed Language Tools</category></item><item><title>Visual Studio 2005 SDK Version 2 has Shipped!!!!</title><link>http://blogs.msdn.com/aaronmar/archive/2006/04/17/visual-studio-2005-sdk-version-2-has-shipped.aspx</link><pubDate>Tue, 18 Apr 2006 00:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:577825</guid><dc:creator>aaronmar</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/577825.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=577825</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=577825</wfw:comment><description>&lt;P&gt;You can &lt;A href="http://affiliate.vsipmembers.com/downloads/56/UserFileDownload.ashx" mce_href="http://affiliate.vsipmembers.com/downloads/56/UserFileDownload.ashx"&gt;download the SDK here&lt;/A&gt;. This is the second release of the Visual Studio 2005 SDK (version one was in November 2005). From the download description: "The April v2 RTM is the next milestone in the VS 2005 SDK. This RTM release contains updated VS Integration sample and documentation content, including updates to the IronPython end-end integration sample with Windows Forms Designer integration, updated C# and C++ Editor Reference samples, new examples (CustomSearchProvider, RegExLanguageService, XMLDesigner, LanguageInADialog, CodeSweep, ToolboxControlsInstaller, SingleFileGenerator), addition of Shell, LanguageService, and Project&amp;nbsp;MPF source code, DSL Tools extensibility, updates to VSTS content to match RTM, and signed VSTA bits."&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=577825" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category></item><item><title>A bit more on IronPython</title><link>http://blogs.msdn.com/aaronmar/archive/2006/02/16/a-bit-more-on-ironpython.aspx</link><pubDate>Thu, 16 Feb 2006 18:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533273</guid><dc:creator>aaronmar</dc:creator><slash:comments>24</slash:comments><comments>http://blogs.msdn.com/aaronmar/comments/533273.aspx</comments><wfw:commentRss>http://blogs.msdn.com/aaronmar/commentrss.aspx?PostID=533273</wfw:commentRss><wfw:comment>http://blogs.msdn.com/aaronmar/rsscomments.aspx?PostID=533273</wfw:comment><description>&lt;P&gt;[Update 04.02.2007: Added note about running under the debugger]&lt;BR&gt;[Update 03.14.2007: Updated content for Visual Studio 2005 SDK Version 4.0]&lt;BR&gt;[Update 01.23.2007: Added note about needing VC++]&lt;BR&gt;[Update 09.15.2006: Updated content for Visual Studio 2005 SDK Version 3.0]&lt;BR&gt;[Update 07.26.2006: Soma linked to my blog :). Because of this, I've made some minor edits to bring this post a bit more up to date.]&lt;/P&gt;
&lt;P&gt;Since there have been several mentions of this blog on the IronPython discussion alias, I thought I should mention some more about the IronPython sample in the latest&amp;nbsp;release of the Visual Studio SDK.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How do I get IronPython Integration in Visual Studio 2005?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;First, you'll need to go &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=51A5C65B-C020-4E08-8AC0-3EB9C06996F4&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=51A5C65B-C020-4E08-8AC0-3EB9C06996F4&amp;amp;displaylang=en"&gt;download the latest&amp;nbsp;release of the Visual Studio SDK&lt;/A&gt;&amp;nbsp;(Version 4.0). Note that the IronPythonIntegration sample &lt;STRONG&gt;will only&lt;/STRONG&gt; work with Visual Studio 2005 (and higher). It is not possible to get it to work with .Net 1.1 and Visual Studio 2003.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What version of Visual Studio do I need? Can I use this with an Express edition?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, no. The Visual Studio Express editions do not support extensibility (addins &amp;amp; packages). This is a limitation of the Express products and not a limitation we are placing on the&amp;nbsp;sample. You will need Visual Studio Standard or higher to build and use the sample.&lt;/P&gt;
&lt;P&gt;Also, you will need to have Visual C++ installed in order to compile the sample. This is a current prerequisite for building any Visual Studio integration project since the C++ preprocessor is used to compile the CTC files in the sample. (CTC is the format that is used&amp;nbsp;to statically describe the menu structure that a package provides in Visual Studio.)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;OK, I've got this thing downloaded...now how do I get IronPython working inside Visual Studio?!?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Open&amp;nbsp;Visual Studio 2005 and (assuming you installed the SDK to the default location) open the solution&amp;nbsp;at "C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Samples\IronPythonIntegration". Then, it should simply be a matter of hitting CTRL+F5 for Build &amp;amp; Run. This will launch Visual Studio using the "Experimental hive". (Alternatively, you could&amp;nbsp;run "devenv /rootsuffix Exp" or use the shortcut that is placed under VS SDK in the Start Menu.)&lt;/P&gt;
&lt;P&gt;Note that if you run the sample via F5 (under the debugger), you may see some exceptions and MDA (managed debugging assistant) errors. These can be safely ignored.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I think I have it built and running...now what?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can create&amp;nbsp;a new IronPython project just like you would a C#/VB/J#/C++ project, from the new project command. My suggestion would be to create a console application and play around with that for a while. If you open any file with a .py extension, you'll notice that Visual Studio will do syntax coloring for you.&lt;/P&gt;
&lt;P&gt;One other cool little item this sample includes is a tool window (like Output Window, Solution Explorer, etc...) called the IronPython Console Window. You can launch this from View-Other Windows. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Another thing to note with the console window is a variable defined in it called "dte". This is a pointer to the same &lt;A href="http://msdn2.microsoft.com/en-us/library/za2b25t3.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/za2b25t3.aspx"&gt;DTE object that is used to automate Visual Studio&lt;/A&gt; via the Macros IDE. &lt;U&gt;Translation: you can write mini-macros for VS with IronPython instead of Visual Basic.&lt;/U&gt; :-)&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How does this compiler thing work anyway? I haven't been able to 'compile' IronPython binaries before...&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Over the past few months, the IronPython team added some compiler interfaces to IronPython.dll which the IP project system uses to compile when you select "Build". One thing to realize about how the compiler works is that the binaries produced have a heavy dependency on the IronPython runtime (IronPython.dll). After all, it is a dynamic language. When you execute your IronPython binary, each statement is being evaluated and type-checked as you execute it.&lt;/P&gt;
&lt;P&gt;What this means for you is that the MSIL in the binaries produced will not look like a standard .NET library you build in C#/VB. In fact, you probably won't be able to consume it from another project.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What other features are there?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This sample is primarly meant &lt;U&gt;as a sample&lt;/U&gt; to demonstrate integrating a language into Visual Studio 2005. As such, some of the features may be incomplete or unstable. Nevertheless, the sample has limited support for the following features:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;MSBuild&lt;/LI&gt;
&lt;LI&gt;Windows Forms Designer&lt;/LI&gt;
&lt;LI&gt;WebSite Projects (e.g. "New Website")&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx" mce_href="http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx"&gt;Web Application Projects&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Intellisense (Both as inline in a aspx page and in normal code files)&lt;/LI&gt;
&lt;LI&gt;Demonstrates use of MPF features&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;I have multiple modules (.py files) that need to interact with each other. How does that work?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Simple. In your project, just import the module like you would if you had a bunch of .py files on disk together in the same folder. For example, if I have program.py as my main file and I need to import myModule.py, I would put the following statement in program.py:&lt;/P&gt;
&lt;P&gt;import myModule&lt;/P&gt;&lt;B&gt;Which version of IronPython is included in this sample?&lt;BR&gt;&lt;/B&gt;
&lt;P&gt;The Visual Studio 2005 SDK Version 4.0 uses a pre-beta version of IronPython 1.1.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Is there any way to get IronPython running in Visual Studio without downloading the Visual Studio 2005 SDK?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;At the present, the only method we are using for shipping the IronPython/VS integration is as a sample in the VSSDK.&lt;/P&gt;
&lt;P&gt;However, the IronPython team has released an &lt;A class="" href="http://asp.net/ironpython/default.aspx?tabid=62" mce_href="http://asp.net/ironpython/default.aspx?tabid=62"&gt;IronPython for ASP.NET CTP&lt;/A&gt; which includes a subset of the functionality included in this sample. Note that the IronPython for ASP.NET CTP is shipped in binary form only, and it does not require the Visual Studio SDK.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;OK, I think I found a bug...&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please &lt;A href="http://blogs.msdn.com/aaronmar/contact.aspx" mce_href="http://blogs.msdn.com/aaronmar/contact.aspx"&gt;send us feedback&lt;/A&gt;&amp;nbsp;with any problems/questions/suggestions you may have!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=533273" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/aaronmar/archive/tags/Visual+Studio+SDK/default.aspx">Visual Studio SDK</category><category domain="http://blogs.msdn.com/aaronmar/archive/tags/IronPython/default.aspx">IronPython</category></item></channel></rss>