[MonoDevelop] VB.Net Option Strict

Rolf Bjarne Kvinge rolflists at ya.com
Sat Sep 22 07:42:26 EDT 2007



> -----Original Message-----
> From: monodevelop-list-bounces at lists.ximian.com [mailto:monodevelop-
> list-bounces at lists.ximian.com] On Behalf Of Markus Kilås
> Sent: sábado, 22 de septiembre de 2007 11:11
> To: Monodevelop-list at lists.ximian.com
> Subject: [MonoDevelop] VB.Net Option Strict
> 
> Hi all!
> 
> I am trying to port an VB.net application to Mono but are getting some
> trouble compiling with Monodevelop.
> 
> I have created a VB.net-project and added all the .vb-files but when a
> try to compile I get an error for each file:
> 
> [Task:File=, Line=0, Column=0, Type=Error, Priority=Normal,
> Description=Option Strict Off will probably
> fail.((/home/markus/Projects/dotnetproject/dotnetproject/file.vb))]
> 

This should be a warning, not an error ("probably fail" != "failed"), I'll
try fix it asap.

Adding "Option Strict On" on top of each file will make the message go away,
as long as the code doesn't rely on Option Strict being off (in which case
you'll get other errors).

Rolf

> What is "Option Strict", where can I find info about it and how can a
> change it?
> 
> Thanks in advance
> 
> --
> 
> 
> Markus Kilås
> 
> +46(0)70 424 94 85
> 
> markus at markuspage.com
> kilas at kth.se
> 
> www.markuspage.com
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.13.28/1021 - Release Date:
> 21/09/2007 14:02




More information about the Monodevelop-list mailing list