Print Page | Close Window

SL VB Bug

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1129
Printed Date: 14-May-2025 at 9:12pm


Topic: SL VB Bug
Posted By: smi-mark
Subject: SL VB Bug
Date Posted: 10-Mar-2009 at 5:22pm
Hi,

To be able to use LINQ queries with SL and VB.Net you need to add a TypeWrapper from:

"Microsoft.VisualBasic, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

To:

"Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" (I think that is the latest one)

Otherwise DevForce blows up saying:

Caught exception: System.Exception: Unable to locate type: Microsoft.VisualBasic.CompilerServices.Operators, Microsoft.VisualBasic, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   at IdeaBlade.Util.v4.TypeWrapperSL.FindType()
   at IdeaBlade.Util.v4.TypeWrapperSL.Restore()
   at IdeaBlade.Linq.v4.MethodInfoWrapperSL.FindMember()
   at IdeaBlade.Linq.v4.MemberInfoWrapperSL.Restore()
   at IdeaBlade.Linq.v4.MethodInfoWrapperSL.get_MethodInfo()



Replies:
Posted By: kimj
Date Posted: 11-Mar-2009 at 5:54pm
Thanks for reporting this.  A fix for this bug will be included in DevForce Silverlight RC1 available next week.



Print Page | Close Window