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
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
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
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: [
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
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
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
.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
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
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
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
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
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
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
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
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
16 matches
Mail list logo