I have a solution that when compiled under the IDE all of the projects build with no issue. However when compiled with msbuild, I receive the following error message “error BC30201: Expression expected. ” on line 506 and 238 of a vb.net project.
line 505 If Counter => e.NumberOfItems Then
line 238 If Counter => e.NumberOfItems Then
I made a typo with => it should be >=. But why does it compile under the IDE? If I format the the document then the IDE corrects the typo. So this looks like another example of vb not compiling the code I wrote.