[MonoDevelop] System.Web.UI.WebControls.Menu.. where it is?
m.j.hutchinson at gmail.com
Sat Dec 2 20:16:48 EST 2006
On 12/2/06, Paulo Aboim Pinto <esqueleto at tusofona.com> wrote:
> olimpoMenu/index.ascx.cs, Line=19, Column=11, Type=Error, Priority=Normal,
> Description=`Menu' is an ambiguous reference between
> `System.Web.UI.WebControls.Menu' and `olimpo.WebControls.Menu'(CS0104)]
What this means is that if you have "using System.Web.UI" and "using
olimpo", then you refer to "WebControls.Menu", the the compiler does
not know whether you mean "System.Web.UI.WebControls.Menu" or
"olimpo.WebControls.Menu". In this case you have to refer to them by
full namespace or use namespace aliases.
> It was a waste of time, because the Menu is implemented, but, why I
> cannot find it with code completion?
> Accessing the Menu features is off the Code Completion too. Why?
It works fine here. Maybe the code completion was also confused by the
ambiguous references. Try it again in a new project.
More information about the Monodevelop-list