[MonoDevelop] Can't compile MonoDevelop from SVN

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Oct 13 04:01:34 EDT 2008


On Mon, Oct 13, 2008 at 2:23 AM, Ian Greenhoe <ian at ihgreenman.com> wrote:
>
> Yes, that is fixed, and now I'm getting:
>
> ./MonoDevelop.VersionControl/ChangeSet.cs(34,44): error CS0119:
> Expression denotes a `property access', where a `method group' was
> expected
>
> BTW, I'm (currently) using mono 1.9.1 on Debian testing to compile.

I can't test right now, but it looks to me like the compiler's getting
confused by presence of the the Count property and the Count extension
method. I believe it works on 2.0 -- I was intending on bumping the MD
trunk version requirement to Mono 2.0 soon, since this is required for
the debugger anyway.

Patching it in your local copy should be pretty easy. Remove the
"using System.Linq;" and replace
items.Count (item => !string.IsNullOrEmpty (item.Comment));
with
System.Linq.Enumerable.Count (items, item => !string.IsNullOrEmpty
(item.Comment));

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list