[Mono-bugs] [Bug 663727] New: Generic Interface Library: Could not load type from assembly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jan 11 12:14:58 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=663727
https://bugzilla.novell.com/show_bug.cgi?id=663727#c0
Summary: Generic Interface Library: Could not load type from
assembly
Classification: Mono
Product: Mono: Compilers
Version: 2.8.x
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: dylon at deltasecho.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)
Gecko/20101230 Firefox/3.6.13
For experimental purposes, I am attempting to construct a binary search tree
library from which a BST may be instantiated to hold either unique-only or
redundant nodes (with a redundant node being one with a value equivalent to
another in the tree). For reusability, I have defined a single generic
interface, ITree, and two sub-interfaces: IUnique and IRedundant.
The library itself compiles successfully, but attempting to reference the
assembly while compiling another executable results in the following error:
error CS0011: Could not load type
'DllBest.ITree`3[T,N,DllBest.IRedundant`2[T,N]]' from assembly 'dllbest,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Compiling the executable with the actual source files for the library works,
though.
I've posted a question regarding this bug on Stack Overflow, here:
http://stackoverflow.com/questions/4659485/generic-interface-library-could-not-load-type-from-assembly
This is the Github repository from which I'm working on the library:
https://github.com/dylon/DLL-BEST/tree/master/cs
Reproducible: Always
Steps to Reproduce:
1. Compile the library
2. Attempt to reference it during the compilation of another assembly
3. The aforementioned error is thrown
Actual Results:
The compiler errors with the message:
error CS0011: Could not load type
'DllBest.ITree`3[T,N,DllBest.IRedundant`2[T,N]]' from assembly 'dllbest,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Expected Results:
The assembly should compile and be executable
--
Configure bugmail: https://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