Using PDC bits with new “Dynamic” features

24 בנובמבר 2008

one comment

While preparing for a talk I am to give about the new C# 4.0 dynamic feature and dynamic languages in general I ran into several issues that I would like to document here, maybe they will be helpful for you as well.

I am using the Visual Studio 2010 VPC which was handed over for every PDC attendee. But don’t feel bad if you don’t have it, you may download it now (7.2GB download).

The VPC contains many walkthroughs you can try on, such as interoperability of IronPhython and C#, and Silverlight.

In order to do the those walkthroughs and also run the demos Anders and Jim did on their PDC sessions you need a few stuff that don’t come with the VPC.

  1. You must have an IronPhyton runtime which is not included with the VPC. You can download it from here.
  2. When you do try to install the IronPhyton runtime, the installer stops at "Please wait while the installer finishes determining your disk space requirements" phase. Following my past Vista UAC “instincts” I run it through command line with “msiexec /i  IronPython.msi” and it did work. (Thanks Vista!).
  3. While trying to reproduce both Anders Hejlsberg and Jim Hugunin examples from PDC 2008, you will notice that the DynamicObject object that they are using id missing. It just didn’t make it to the VPC. Luckily you don’t have to re-implement it, Curt Hagenlocher had provided us a copy of it.

Link to Curt’s post

Link  to Kevin Hazzard’s post.

Good luck!

Ariel

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

one comment

  1. Jason Bock11 בינואר 2009 ב 22:35

    THANK YOU!

    Your post was the only one that helped me get by the IP 2.0 install issue. You just saved me a lot of trouble.

    Most appreciated 🙂

    Reply