Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Brad Wilson
m::Reflection::Assembly.Load("IronNails.Library, Version=1.0.0.0, >> Culture=neutral, PublicKeyToken=null").GetType( >> 'IronNails.View.XamlProxy') >> >> >> >> Tomas >> >> >> >> *From:* [EMAIL PROTECTED] [mailto: >> [EMAIL PROTECTED] *On

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Aaron Feng
u can use Assembly.LoadFile and point it to an absolute path instead. >>> >>> >>> >>> Tomas >>> >>> >>> >>> *From:* [EMAIL PROTECTED] [mailto: >>> [EMAIL PROTECTED] *On Behalf Of *Aaron Feng >>> *Sent:* Mo

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Ivan Porto Carrero
TECTED]> wrote: > >> You can use Assembly.LoadFile and point it to an absolute path instead. >> >> >> >> Tomas >> >> >> >> *From:* [EMAIL PROTECTED] [mailto: >> [EMAIL PROTECTED] *On Behalf Of *Aaron Feng >> *Sent:* Monday, December 08, 2008 1

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Aaron Feng
embly.LoadFile and point it to an absolute path instead. > > > > Tomas > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Aaron Feng > *Sent:* Monday, December 08, 2008 12:33 PM > > *To:* ironruby-core@rubyforge.org > *Subject:* Re: [

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Dudu Baião
Hi Aaron! I'm doing this way for now: require '../../your_folder/your_assembly.dll' ? 2008/12/8 Aaron Feng <[EMAIL PROTECTED]>: > Ok, I got Assembly.Load and Type.get_type both to work with my own DLL. > The actual DLL have to live where ir.exe lives. Is there a way for it to > look in the di

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Tomas Matousek
You can use Assembly.LoadFile and point it to an absolute path instead. Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Feng Sent: Monday, December 08, 2008 12:33 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Handling C# lower case namespaces Ok, I

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Aaron Feng
lProxy') > > > > Tomas > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero > *Sent:* Monday, December 08, 2008 9:46 AM > *To:* ironruby-core@rubyforge.org > *Subject:* Re: [Ironruby-core] Handling C# lower case

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Ivan Porto Carrero
.0, > Culture=neutral, PublicKeyToken=null").GetType('IronNails.View.XamlProxy') > > > > Tomas > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero > *Sent:* Monday, December 08, 2008 9:46 AM > *To:* ironruby-co

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Tomas Matousek
lf Of Ivan Porto Carrero Sent: Monday, December 08, 2008 9:46 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Handling C# lower case namespaces I get the same behavior. I can load types from the CLR but not from my own assembly. I copied my assembly into the folder that conta

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Ivan Porto Carrero
I get the same behavior. I can load types from the CLR but not from my own assembly. I copied my assembly into the folder that contains ir.exe >>> require 'mscorlib' => true >>> require 'IronNails.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' => true >>> IronNails::View::XamlPro

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Aaron Feng
Tomas, I tried it again. I couldn't get the following to work with my own DLL even If I capitalize the namespace (It does work fine with build in types like System.String): > System::Type.get_type("Abc.Hi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null") Do I have any other options? Tha

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Tomas Matousek
t; => nil >>> require 'mscorlib' => true >>> => nil >>> System::Convert.to_int64(1234) => 1234 Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Letterle Sent: Friday, December 05, 2008 1:58 PM To: ironruby-core@rubyforge

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Aaron Feng
Tomas, > System::Type.get_type("foo.bar.baz").to_class Are you sure that works with lower case namespaces? I tried it real quick, and didn't seem to work for me. But I'll try it again later. Aaron ___ Ironruby-core mailing list Ironruby-core@rubyforg

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Michael Letterle
seful. It should probably call ToString. I'll file a bug. > > > > Tomas > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Aaron Feng > *Sent:* Friday, December 05, 2008 1:07 PM > *To:* ironruby-core@rubyforge.org > *Subject:* [Ironruby-cor

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Tomas Matousek
ularly useful. It should probably call ToString. I'll file a bug. Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Feng Sent: Friday, December 05, 2008 1:07 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Handling C# lower case namespaces It seems like the c

[Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Aaron Feng
It seems like the current version does not handle lower case namespaces when referencing a .NET DLL. It thinks it is a method call whenever a constant starts with lower case. It also doesn't handle non-alphabet characters such as _ (underscore). I'm trying to call WCF service from IronRuby via t