[Ironruby-core] unable to load 'System.Windows.Forms'

Dino Viehland dinov at exchange.microsoft.com
Tue Nov 27 22:39:50 EST 2007

In IronPython we'll fall back to LoadWithPartialName which allows clr.AddReference('System.Windows.Forms') to work.  Maybe IronRuby should consider doing the same thing?

From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] On Behalf Of N. F. [lists at ruby-forum.com]
Sent: Tuesday, November 27, 2007 7:37 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] unable to load 'System.Windows.Forms'

Cory Foy wrote:
> Try using the strong name:
> C:\lang\IronRuby\Build\Release>rbx
> IronRuby Pre-Alpha ( on .NET 2.0.50727.1378
> Copyright (c) Microsoft Corporation. All rights reserved.
>>>> require 'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> => true
> I got that info from C:\Windows\Assembly (if you don't already have it
> memorized. ;))
> Cory

Thanks Cory! That did the trick...now to memorize or resort to the good
ole cut and paste when using the interactive console...
Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list