Using IF THEN ELSE statement in VB

View: New views
2 Messages — Rating Filter:   Alert me  

Using IF THEN ELSE statement in VB

by dean0 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I cannot seem to get an IF statement to work within my asp.net page

Error = Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

without the IF statement it works fine.

Can anyone shed some light on what the problem could be.

Re: Using IF THEN ELSE statement in VB

by Gonzalo Paniagua Javier-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-06-30 at 05:46 -0700, dean0 wrote:
> I cannot seem to get an IF statement to work within my asp.net page
>
> Error = Could not load file or assembly 'Microsoft.VisualBasic,
> Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
> its dependencies.
>
> without the IF statement it works fine.
>
> Can anyone shed some light on what the problem could be.

If you're using VS.NET to develop, try precompiling the site (better if
you make the site not upgradeable, but should work anyway). Our VB.NET
compiler is not as mature as the C# one.

-Gonzalo


_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list