Have you tried requiring them? "require 'foo'" will look on the path for foo.rb, as well as foo.dll. If you could provide a small repro of your issue I can give more help.
From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of andrew Wilson Sent: Tuesday, January 12, 2010 8:43 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] InternalsVisibleTo Jimmy, Yes that worked, but it did point out another problem. When I do: My::Domain.constants I have somewhere like 15 references to .dll's that won't load unless I copy them off to the bin folder for IronRuby. The references for each of them are to their physical path, so I would have thought that to solve that issue. It's not a major deal for now, but its kinda hokey copying those files over :) Any ideas? -A On Mon, Jan 11, 2010 at 10:14 PM, <ironruby-core-requ...@rubyforge.org<mailto:ironruby-core-requ...@rubyforge.org>> wrote: Send Ironruby-core mailing list submissions to ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org> To subscribe or unsubscribe via the World Wide Web, visit http://rubyforge.org/mailman/listinfo/ironruby-core or, via email, send a message with subject or body 'help' to ironruby-core-requ...@rubyforge.org<mailto:ironruby-core-requ...@rubyforge.org> You can reach the person managing the list at ironruby-core-ow...@rubyforge.org<mailto:ironruby-core-ow...@rubyforge.org> When replying, please edit your Subject line so it is more specific than "Re: Contents of Ironruby-core digest..." Today's Topics: 1. InternalsVisibleTo (andrew Wilson) 2. Re: InternalsVisibleTo (Jimmy Schementi) ---------------------------------------------------------------------- Message: 1 Date: Mon, 11 Jan 2010 22:06:23 -0700 From: andrew Wilson <a.wilso...@gmail.com<mailto:a.wilso...@gmail.com>> To: ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org> Subject: [Ironruby-core] InternalsVisibleTo Message-ID: <9dbb46901001112106r79971abai7de5e677da0ee...@mail.gmail.com<mailto:9dbb46901001112106r79971abai7de5e677da0ee...@mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1" I know this is a bit of a longshot, but has anyone got an internalsvisibleto attribute to work so they could debug internal classes from ir itself? I tried to add the namespace "ir" and public key to the assembly I was trying to test to no avail. Im building out some rspec & IronRuby tests of my .net assemblies and it would be nice if I could reach out and touch some internal classes :) -A -- When I wrote this, only God and I understood what I was doing. Now, God only knows - Karl Weierstrass -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100111/05457b09/attachment-0001.html> ------------------------------ Message: 2 Date: Tue, 12 Jan 2010 05:13:55 +0000 From: Jimmy Schementi <jimmy.scheme...@microsoft.com<mailto:jimmy.scheme...@microsoft.com>> To: "ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>" <ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>> Subject: Re: [Ironruby-core] InternalsVisibleTo Message-ID: <1b42307cd4aadd438cdda2fe1121cc9209e...@tk5ex14mbxc141.redmond.corp.microsoft.com<mailto:1b42307cd4aadd438cdda2fe1121cc9209e...@tk5ex14mbxc141.redmond.corp.microsoft.com>> Content-Type: text/plain; charset="us-ascii" Running IronRuby with the "-X:PrivateBinding" will allow access to private members, which should also work for internal members (I believe, try it out just to be sure and report back). From: ironruby-core-boun...@rubyforge.org<mailto:ironruby-core-boun...@rubyforge.org> [mailto:ironruby-core-boun...@rubyforge.org<mailto:ironruby-core-boun...@rubyforge.org>] On Behalf Of andrew Wilson Sent: Monday, January 11, 2010 9:06 PM To: ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org> Subject: [Ironruby-core] InternalsVisibleTo I know this is a bit of a longshot, but has anyone got an internalsvisibleto attribute to work so they could debug internal classes from ir itself? I tried to add the namespace "ir" and public key to the assembly I was trying to test to no avail. Im building out some rspec & IronRuby tests of my .net assemblies and it would be nice if I could reach out and touch some internal classes :) -A -- When I wrote this, only God and I understood what I was doing. Now, God only knows - Karl Weierstrass -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100112/aaad5e6f/attachment.html> ------------------------------ _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core End of Ironruby-core Digest, Vol 29, Issue 15 ********************************************* -- When I wrote this, only God and I understood what I was doing. Now, God only knows - Karl Weierstrass
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core