Last post Nov 11, 2005 10:13 PM by d88b
Nov 09, 2005 12:10 AM|d88b|LINK
Nov 11, 2005 10:13 PM|d88b|LINK
This is the answer I got from Microsoft...
Sorry about the inconvenience. There unfortunately isn’t a GUI way to enable option strict, but you can enable it by copying and pasting
this statement into your application’s web.config file (it should go immediately underneath the root <configuration> element:
<compiler compilerOptions ="/optionexplicit+ /optionstrict+" language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider,
System, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
This will then enable option strict for both code-behind and your app_code directory.
Hope this helps,