[Mono-bugs] [Bug 670715] New: Could not load type ... from assembly ... (CS0011)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 9 14:02:52 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=670715#c0


           Summary: Could not load type ... from assembly ... (CS0011)
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: Hartmut.Luttermann at itemis.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: No


Created an attachment (id=413105)
 --> (http://bugzilla.novell.com/attachment.cgi?id=413105)
Solution with Src and Test-Src (zipped)

Description of Problem:
building a program which refers to a generic type (with one type parameter
refering recursively the type itself) in another library causes the following
error:
Error CS0011: Could not load type
'GenericTree.AbstractTreeNode`2[TItem,GenericTree.TreeNode`1[TItem]]' from
assembly 'GenericTree, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
(CS0011) (TestGenericTree)


Steps to reproduce the problem:
1. load the solution GenericTest.sln (GenericTest.zip) in MonoDevelop
2. try to build the solution


Actual Results:
-) successfully builds the project GenericTree
-) building the project TestGenericTree returns the following error:
Error CS0011: Could not load type
'GenericTree.AbstractTreeNode`2[TItem,GenericTree.TreeNode`1[TItem]]' from
assembly 'GenericTree, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
(CS0011) (TestGenericTree)

Mono-Framework: MonoFramework-2.8.2_1.macos10.novell.x86.dmg
MonoDevelop: MonoDevelop-20402000.dmg

Expected Results:
builds successfully both projects.

How often does this happen? 
everytime

Additional Information:
both projects were build and executed successfully with Microsoft .NET 4.0 via
SharpDevelop 4.0

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