[Mono-bugs] [Bug 439404] New: monodis fails to find referenced assemblies
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 27 23:59:28 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=439404
Summary: monodis fails to find referenced assemblies
Product: Mono: Tools
Version: 2.0
Platform: PowerPC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Major
Priority: P5 - None
Component: monodis
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: jesjones at mindspring.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
It looks like monodis can no longer find referenced assemblies which are not in
the gac. To see this compile the following using 'gmcs -out:lib.dll
-target:library Lib.cs':
using System;
public class Worker
{
public void Work()
{
Console.WriteLine("working...");
}
}
and this with 'gmcs -out:app.exe -reference:lib.dll Main.cs':
using System;
internal class Program
{
public static void Main()
{
Worker w = new Worker();
w.Work();
}
}
then disassemble with 'monodis app.exe'. With mono 1.9 this disassembles
cleanly but with mono 2.0 I get:
** (process:935): WARNING **: The following assembly referenced from
/Users/jessejones/Source/Test/app.exe could not be loaded:
Assembly: lib (assemblyref_index=1)
Version: 0.0.0.0
Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the
MONO_PATH environment variable, or in the location of the executing assembly
().
Bus error
--
Configure bugmail: https://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