[Ironruby-core] unable to load 'System.Windows.Forms'
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:
> IronRuby Pre-Alpha (184.108.40.206) on .NET 2.0.50727.1378
> Copyright (c) Microsoft Corporation. All rights reserved.
>>>> require 'System.Windows.Forms, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> => true
> I got that info from C:\Windows\Assembly (if you don't already have it
> memorized. ;))
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