Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
Thanks a lot that works :) On Feb 19, 2008 4:34 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > I got basically the same result when trying to use a SubSonic-generated > DLL from IronPython. The Assembly.GetTypes function wasn't able to > resolve the generated classes because "Could not load f

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
Yep the same thing happens, and i can elaborate on that If it's an assembly which only contains ie. ActiveRecord types then i can't even execute include DataAccess::SubSonic I tried many variations on the theme. Tried with signed assemblies vs unsigned ones, tried different syntax structures, trie

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Eric Nicholson
Where is the assembly that contains Customer? Is that " DataAccess.SubSonic.dll"? BTW: ActiveRecord (from Castle) does not require you to inherit ActiveRecordBase. You can just mark up your classes with attributes and use ActiveRecordMediator for all the CRUD. -Eric On Feb 18, 2008 3:30 PM, I

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
You also have to create an rbx.config file otherwise it doesn't know how to find the config file. On Feb 19, 2008 4:34 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > I got basically the same result when trying to use a SubSonic-generated > DLL from IronPython. The Assembly.GetTypes function w

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
ah k I'll try that thanks On Feb 19, 2008 4:34 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > I got basically the same result when trying to use a SubSonic-generated > DLL from IronPython. The Assembly.GetTypes function wasn't able to > resolve the generated classes because "Could not load fi

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Curt Hagenlocher
I got basically the same result when trying to use a SubSonic-generated DLL from IronPython. The Assembly.GetTypes function wasn't able to resolve the generated classes because "Could not load file or assembly 'SubSonic, Version=2.0.3.0, Culture=neutral, PublicKeyToken=eadb47849839a332' or one of

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
Yep On Feb 19, 2008 1:37 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > So, the Customer class was generated by SubSonic and is contained in > DataAccess.Subsonic.dll? Do you get the same results by leaving out the > include and saying > > DataAccess::SubSonic::Customer.new > > instead? > On

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Curt Hagenlocher
So, the Customer class was generated by SubSonic and is contained in DataAccess.Subsonic.dll? Do you get the same results by leaving out the include and saying DataAccess::SubSonic::Customer.new instead? On Feb 18, 2008 12:30 PM, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote: > Hi, > > I ran int