[Mono-bugs] [Bug 508591] New: Should not send libraryX.dll to output if it's not used

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 31 22:17:38 EDT 2009


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


           Summary: Should not send libraryX.dll to output if it's not
                    used
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: linker
        AssignedTo: jbevain at novell.com
        ReportedBy: aaragoneses at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Testcase:

1. Have a program called Test (Test.exe) with this code:

    public class Program
    {

        static void NotReached () {
            new TestLib3.MyClass ().SomeMethod ();
        }

        static int Main ()
        {
            new TestLib2.MyClass().SomeMethod();
            return 3;
        }
    }

TestLib2 namespace is in library TestLib2.dll, TestLib3 namespace is in library
TestLib3.dll.

When running the linker with "monolinker -d . -a Test.exe -l none", some files
are sent to the "output" directory.

Current results: TestLib3.dll is in the directory.
Expected results: The file should not be there.

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


More information about the mono-bugs mailing list