Last post Nov 11, 2005 09:13 PM by d88b
Nov 08, 2005 11:10 PM|d88b|LINK
Nov 11, 2005 09: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=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
This will then enable option strict for both code-behind and your app_code directory.
Hope this helps,