Monday, December 6, 2010

Fluent NHibernate: cannot convert lambda expression error

If you received this kind of error...

Cannot convert 'lambda expression' to non-delegate type Options

or this:

Error CS1660: Cannot convert `lambda expression' to non-delegate type `System.Linq.Expressions.Expression<System.Func<Product,object>>' (CS1660)

...just add System.Core in your References

No comments:

Post a Comment