On Wed, Dec 10, 2008 at 9:29 PM, Adam Tauno Williams
<[EMAIL PROTECTED]> wrote:
> I've got a simple LINQ example in Monodevelop (openSUSE,
> mono-core-2.0.1) and it fails to build with:
>
> Type=Error, Priority=Normal, Description=An implementation of `Cast'
> query expression pattern could not be found. Are you missing
> `System.Linq' using directive or `System.Core.dll' assembly
> reference?(CS1935)
>
> The project references System.Core, and System.Data.Linq,  I have a
> System.Data.Linq and a System.Xml.Linq, but no System.Linq.

Just add "using System.Linq;" to the top of your source file.  This
namespace is part of the System.Core assembly.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to