[Mono-aspnet-list] Using IF THEN ELSE statement in VB

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Wed Jul 1 23:37:12 EDT 2009

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=, 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.


More information about the Mono-aspnet-list mailing list