[Mono-list] Should LINQ work in Mono 2.0.1?
Chris Howie
cdhowie at gmail.com
Wed Dec 10 21:34:32 EST 2008
On Wed, Dec 10, 2008 at 9:29 PM, Adam Tauno Williams
<awilliam at whitemice.org> 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
More information about the Mono-list
mailing list