[MonoDevelop] MSDN and arbitrary ,NET C# types?
Mike Krüger
mkrueger at novell.com
Sat Feb 20 05:39:43 EST 2010
Hi
Ok for fixing this just open the monodevelop solution and search for the
type (use the class browser pad and type the typename).
The CodeDomVisitor is in ICSharpCode.NRefactory.Visitors. You may have
to check that the nrefactory project reference is searched.
I've looked at http://monodevelop.com/Developers/Articles/API_Overview
and I think it's pretty up to date (There is no description of NRefactry
there).
Regards
Mike
> /home/vasili/Projects/FSharpBinding/FSharpBinding/FSharpEnhancedCodeProvider.cs(25,25):
> Error CS0246: The type or namespace name `CodeDomVisitor' could not be
> found. Are you missing a using directive or an assembly reference?
> (CS0246) (FSharpBinding)
>
>
> If I specify "using ICSharpCode.NRefactory.* then I get an error
> stating that there is no NRefactory namespace underneath ICSharpCode
> namespace. Indeed when I use the editor inside MonoDevelop there seems
> to be no NRefactory sub-namespace as a possibility:
>
> /home/vasili/Projects/FSharpBinding/FSharpBinding/FSharpEnhancedCodeProvider.cs(19,19):
> Error CS0234: The type or namespace name `NRefactory' does not exist
> in the namespace `ICSharpCode'. Are you missing an assembly reference?
> (CS0234) (FSharpBinding). Hopefully this answes your 2nd question to
> me. I want a means of discovering the hierarchy of a namespace in
> order to code correctly.
>
> I assume that http://monodevelop.com/Developers/Articles/API_Overview
> is already pretty out-of-date?
>
> V.
>
>
>
>
> On 2/19/10, Mike Krüger <mkrueger at novell.com> wrote:
> > Hi
> >
> > I'm not 100% sure what you want I assume that you want to search IN
> > namespaces ?
> >
> > The CodeDomVisitor just translates a parsed NRefactory AST to CodeDom.
> > Why do you want to search/lookup namespaces ? You can try, if you can do
> > something with the NRefactoryResolver from the C# binding it can give
> > you type information for an expression.
> > If you want to search types you should take a look at the ProjectDOM ...
> > this helps to look up namespaces for a project.
> >
> > Regards
> > Mike
> >
> >
> >> How do discover namespaces? E.g. how do I discover the prefix for
> >> the namespace ending in CodeDomVisitor? Is there a tool?
> >>
> >> Vasili
> >>
> >>
> >> On 2/19/10, Mike Krüger <mkrueger at novell.com> wrote:
> >> > Hi
> >> >
> >> > Which IParser interface? When you speak of
> >> >
> >> > MonoDevelop.Projects.Dom.Parser.IParser or
> >> > ICSharpCode.NRefactory.IParser they're not on www.msdn.microsoft.com
> >> > because Microsoft didn't add the monodevelop source code documentation
> >> > yet :/
> >> >
> >> > Regards
> >> > Mike
> >> >
> >> >> I have been trying to search on www.msdn.microsoft.com for info
> >> >> on the interface IParser. E.g. in which namespace IParser lives. But I
> >> >> can't find this info.
> >> >>
> >> >> Vasili
> >> >> _______________________________________________
> >> >> Monodevelop-list mailing list
> >> >> Monodevelop-list at lists.ximian.com
> >> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >> >
> >> >
> >> >
> >
> >
> >
More information about the Monodevelop-list
mailing list