[Mono-bugs] [Bug 401194] gmcs failed to load referencied assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 16 04:49:50 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=401194

https://bugzilla.novell.com/show_bug.cgi?id=401194#c5


--- Comment #5 from Piotr Wysocki <piotr.wysocki at secpl.cs.put.poznan.pl> 2010-09-16 08:49:47 UTC ---
Created an attachment (id=389895)
 --> (http://bugzilla.novell.com/attachment.cgi?id=389895)
standalone test case

After some thinking, I managed to create a standalone test, it's attached.

The compile.bat explains the compile process.
On MS.NET this works, on gmcs it does not - during Main.cs compilation,
MyClass.dll assembly opening fails due to missing DepClass.dll. DepClass.dll
is indeed not available at the compile time, but it should not be necessary
- MS.NET does not care about that.

In this example the dependency on DepClass in MyClass is hidden -- there is no
public property which would use anything from DepClass. This is pretty common
scenario in my environment and to make gmcs work I need to set up a big
MONO_PATH to all libraries I use. This is not good.

When fixed, please also try the test case from the 389768 attachment in this
bug report. I have no idea if the standalone test I am attaching is equivalent
to 389768.

-- 
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