[MonoDevelop] Type or namespace 'mytype' could not be found.... but I'm referencing the dll

Steve Hannah steve at weblite.ca
Fri Jan 21 01:27:56 EST 2011


Update:  I think I found the problem.  It must have been a problem with the
.dll file.  When I use different .dll files created with the same method
(IKVM) I seem to be able to build and run the program properly.

-Steve

On Thu, Jan 20, 2011 at 10:02 PM, shannah <steve at weblite.ca> wrote:

>
> Hi All,
>
> I'm trying to be able to use a .dll that I have produced using IKVM inside
> a
> MonoDevelop solution.  I have referenced the .dll and it shows up under
> "References" for the solution.  And I can browse the contents of the .dll
> in
> the Assembly Browser, but when I try to include any of the classes in the
> .dll it tells me that
> "The type or namespace name 'mytype' could not be found.  Are you missing a
> using directive or an assembly reference?"
>
> I'm using MonoDevelop 2.4.1 (because 2.4.2 was giving me different problems
> trying to build Mac packages).
>
> It is strange because code completion works properly when typing the
> "using"
> statements so you can see that it is referenced... it just doesn't seem to
> be referenced properly in the build step.
>
> Any ideas are much appreciated.
>
> -Steve
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Type-or-namespace-mytype-could-not-be-found-but-I-m-referencing-the-dll-tp3229037p3229037.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20110120/f65a8958/attachment.html 


More information about the Monodevelop-list mailing list