Criteriabase and LinqBindingList Error

Criteriabase and LinqBindingList Error

Old forum URL: forums.lhotka.net/forums/t/10652.aspx


AKaplan posted on Tuesday, August 30, 2011

I have a compiling error in CSLA 3.6.0.0 VB in the files CriteriaBase.vb line 26 and LinqBindingList.vb line 536 with errors that say 

  <EditorBrowsable(EditorBrowsableState.Never)> _

    Public Shared ReadOnly TypeNameProperty As PropertyInfo(Of String) = RegisterProperty(Of CriteriaBase, String)(Function(c) (c.TypeName))

"Lambda expression cannot be converted to 'System.Linq.Expressions.BLOCKED EXPRESSION' is not a delegate type."

This error just popped up all of a sudden for no reason at all. I know it's not a csla problem, because I've downloaded a fresh new version and built it with no errors. I went along customizing the framework as needed w still no errors. As soon as I reference in my library of objects, I get this error. I had no errors in my library prior to referencing it. So I'm really confused on whats going on, and how I can fix it.

Any and all help would be appreciated. 

AKaplan replied on Tuesday, August 30, 2011

Error Lambda expression cannot be converted to 'System.Linq.Expressions.BLOCKED EXPRESSION' is not a delegate type. E:\cslavb\Csla\CriteriaBase.vb 26

thats what the error says... why did the form change it, idk

Copyright (c) Marimer LLC