[Mono-bugs] [Bug 444566] Could not resolve the name 'List'(VBNC30451)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 13 07:20:24 EST 2008


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

User rkvinge at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444566#c1


Rolf Bjarne Kvinge <rkvinge at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |DUPLICATE




--- Comment #1 from Rolf Bjarne Kvinge <rkvinge at novell.com>  2008-11-13 05:20:23 MST ---
This is because of bug #431112.

In the compiler options page, add the following to the additional compiler
arguments text box:

-imports:System.Collections.Generic

You need MonoDevelop from SVN to do this (older versions have a bug where it
doesn't send the additional arguments to the compiler).

You can also add
Imports System.Collections.Generic
at the top of every file which generates this error to workaround this issue.

It looks like you have an old compiler, a more recent version should tell you
the real file where the error occurred instead of <MyGenerator>.

Note: You'll probably end up importing more than System.Collections.Generic
when you fix this problem.

*** This bug has been marked as a duplicate of bug 431112 ***

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

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