Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Is there a downside to setting OptionInfer to false

Reply
Thread Tools

Is there a downside to setting OptionInfer to false

 
 
AAaron123
Guest
Posts: n/a
 
      03-28-2009
<system.codedom>

<compilers>

<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" ...snip...

<providerOption name="CompilerVersion" value="v3.5"/>

<providerOption name="OptionInfer" value="true"/>

I read the help about OptionInfer. Sounds to me that the help refers mostly
to Windows projects.

I'd like my code to be as explicit as possible with no more assumptions made
by the compiler than necessary.

So I'd like OptionInfer and OptionStrict and any other options you know of
to be set to catch anything I might let slip by.

However, I'm uncertain about Asp.Net. There is so much happening behind the
scenes that I'm uncomfortable setting these to other than the default
values. In fact the help mentions things like /optionstrict+ rather than
setting it to true. So bottom line:

Is there a downside to setting:

<providerOption name="OptionInfer" value="false"/>

<providerOption name="OptionStrict" value="true"/>

And are there other similar settings you'd recommend?



Thanks

PS

How come c# doesn't have

<providerOption name="OptionInfer" value="true"/>

in web.config




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Disk downside...? Kenneth Computer Support 6 08-04-2010 03:53 AM
False positive, false intrusion, false alarm Nick Computer Security 3 04-26-2006 07:40 PM
OT: Downside(s) of installing Windows Server instead of Windows? (Pete Cresswell) HTML 0 03-11-2005 11:00 PM
Firefox downside, maybe? Poly-poly man Firefox 11 02-14-2005 08:14 PM
Any downside to using a 1gig CF card? Robert Desel Digital Photography 11 08-12-2003 09:22 PM



Advertisments