I've tried the following easy LINQ query:

From Proj In Query.All(Of Project)() _
Select Proj _
Where Proj.Name = "Foobar"

Resulting in the following exception: Member 'Microsoft.VisualBasic.CompilerServices.Operators.CompareString' is not supported.

asked Oct 12 '10 at 04:06

Michiel%20Alders's gravatar image

Michiel Alders

edited Oct 12 '10 at 05:13

Alex%20Yakunin's gravatar image

Alex Yakunin

One Answer:

Likely, that's one more issue related to VB.NET we should fix - it really uses a different method in this case, but our LINQ translator doesn't handle this.

We'll fix the issue in few days.

answered Oct 12 '10 at 05:12

Alex%20Yakunin's gravatar image

Alex Yakunin

hehe, pretty crucial feature to start using DO with VB.NET

(Oct 12 '10 at 05:32) Michiel Alders Michiel%20Alders's gravatar image

Michiel: You must have in mind that DO4 was written primary for C#, C# project templates, PostSharp, etc...

(Oct 12 '10 at 12:48) Peter Ĺ ulek Peter%20%C5%A0ulek's gravatar image

That's true; also, VB.NET users historically aren't the group we're focused on, but that's not an excuse :( We'll fix this issue (as well as few other related to VB.NET) on this week.

Btw, we were aware there are issues related to VB.NET specific methods in LINQ (most of VB.NET-specific methods aren't supported). But one of our policies is strong focus on customer requirements - i.e. we normally don't resolve non-critical issues until this isn't requested by some of customers of adopters.

(Oct 12 '10 at 14:13) Alex Yakunin Alex%20Yakunin's gravatar image

So currently there are two issues related to VB.NET:

(Oct 12 '10 at 14:19) Alex Yakunin Alex%20Yakunin's gravatar image

Both issues are fixed, so VB.NET got nearly equal support as C#.

(Nov 08 '10 at 10:09) Alex Yakunin Alex%20Yakunin's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA