[Ironruby-core] InternalsVisibleTo

andrew Wilson a.wilson82 at gmail.com
Tue Jan 12 11:42:30 EST 2010


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-request at rubyforge.org>wrote:

> Send Ironruby-core mailing list submissions to
>        ironruby-core at 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-request at rubyforge.org
>
> You can reach the person managing the list at
>        ironruby-core-owner at 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.wilson82 at gmail.com>
> To: ironruby-core at rubyforge.org
> Subject: [Ironruby-core] InternalsVisibleTo
> Message-ID:
>        <9dbb46901001112106r79971abai7de5e677da0ee823 at 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.Schementi at microsoft.com>
> To: "ironruby-core at rubyforge.org" <ironruby-core at rubyforge.org>
> Subject: Re: [Ironruby-core] InternalsVisibleTo
> Message-ID:
>        <
> 1B42307CD4AADD438CDDA2FE1121CC9209E938 at 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-bounces at rubyforge.org [mailto:
> ironruby-core-bounces at rubyforge.org] On Behalf Of andrew Wilson
> Sent: Monday, January 11, 2010 9:06 PM
> To: ironruby-core at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100112/21fa8f9e/attachment.html>


More information about the Ironruby-core mailing list