I
ianakapilotlight
We are in the process of moving from .net 1.1 to 2.0 and I dont seem to
be able to resolve this problem.
In VS2003 the Option Strict was swtiched on in the options menu and
this was stored in a project file.
In VS2005 there is no project file so this is now stored in the
web.config. My web.config shows this :-
<compilation debug="true" strict="true" explicit="true">
This should ofcourse prevent such lines in the code behind like below
from occuring.
dim x as int32
x = "12"
However the IDE seems to ignore this option altogether.
Can anyone shed some light on what I am doing wrong?
In desparation I have to put Option Strict On at the top of each class,
but surely there is a better way of doing this?
be able to resolve this problem.
In VS2003 the Option Strict was swtiched on in the options menu and
this was stored in a project file.
In VS2005 there is no project file so this is now stored in the
web.config. My web.config shows this :-
<compilation debug="true" strict="true" explicit="true">
This should ofcourse prevent such lines in the code behind like below
from occuring.
dim x as int32
x = "12"
However the IDE seems to ignore this option altogether.
Can anyone shed some light on what I am doing wrong?
In desparation I have to put Option Strict On at the top of each class,
but surely there is a better way of doing this?