[Mono-bugs] [Bug 609088] New: Assembly friends using InternalsVisibleTo are not friend anymore.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 26 11:36:27 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=609088

http://bugzilla.novell.com/show_bug.cgi?id=609088#c0


           Summary: Assembly friends using InternalsVisibleTo are not
                    friend anymore.
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mcarrion at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer
           Blocker: ---


It seems that changes in mcs (r156161) broke our stuff[1], making it unable to
build. 

When building moon both corlib (mcs/corlib/) and System.Windows.dll
(moon/class/System.Windows/) are friend of MoonAtkBridge.

Steps to reproduce
- Checkout moon 156794
- Checkout mcs/mono/mono-basic 155983
- In moon run "./autogen.sh"
- Install moon in your prefix using "make install"
- Download the key[2] to sign the attached example
- Compile attached example, use: "smcs -v -keyfile:mono-uia.snk -r:System
-out:MoonAtkBridge.exe file.cs"
- It will build.

- Now, update mcs/mono/mono-basic to revision 156161 (notice this revision
WON'T compile because of missing ctr in
class/corlib/System.Collections/IHashCodeProvider.cs  and
class/corlib/System.Collections/CaseInsensitiveHashCodeProvider.cs, removing
the Obsolete attribute would fix the building)
- In moon run "./autogen.sh" again
- Install moon in your prefix using "make install"
- Compile attached example
- It should build, but you get the following error:

error CS1501: No overload for method `GetReferencedAssemblies' takes `0'
arguments

[1] http://anonsvn.mono-project.com/viewvc/trunk/uia2atk/MoonAtkBridge/
[2]
http://anonsvn.mono-project.com/viewvc/trunk/uia2atk/MoonAtkBridge/mono-uia.snk?view=co

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list