[MonoDevelop] ConfigurationSelector

Tom Spink tspink at gmail.com
Fri Feb 5 17:28:17 EST 2010


Hi Vasili,

The type you are looking for is a class defined in
ConfigurationSelector.cs, which is defined under the namespace
MonoDevelop.Projects.

You'll find the source file in the same location as the definition of
IDotNetLanguageBinding.  If you have this problem again, see if you
can find the type definition, then look at the namespace declaration
in the source file - that should help you work out which namespaces
you need to import.

Hope this helps,

-- Tom

On 5 February 2010 21:50, Vasili I. Galchin <vigalchin at gmail.com> wrote:
> Hello,
>
>     I am getting this error:
>
> [Task:File=/home/vasili/Projects/FSharpBinding/FSharpBinding/FSharpBinding.cs,
> Line=80, Column=123, Type=Error, Priority=Normal, Description=The type
> or namespace name `ConfigurationSelector' could not be found. Are you
> missing a using directive or an assembly reference?(CS0246)]
>
> I did a find/grep (Linux) and found in MonoDevelop.Ide.Commands an
> enum that defines ConfigurationSelector. This is a little confusing as
> ConfigurationSelector is used as formal parameter type in the
> following function which is part of the IDotLanguageBinding interface:
>
>                public BuildResult Compile (ProjectItemCollection
> projectItems, DotNetProjectConfiguration configuration,
> ConfigurationSelector configSelector, IProgressMonitor monitor)
>                {
>                }
>
> In cases, what is the proper methodology for fixing the problem, e.g.
> if the error is a missing "using" how do I discover which namespace is
> not "imported"?
>
> Vasili
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>



-- 
Tom Spink


More information about the Monodevelop-list mailing list