J
Jerad Rose
I believe this issue is specific to ASP.NET. Why does VB.NET (2.0) ignore
the project-level setting for Option Strict?
I have the setting turned on in web.config:
<compilation debug="true" strict="true" explicit="true"
urlLinePragmas="true"/>
And also in the preferences:
Tools > Options > Projects and Solutions > VB Defaults > Option Strict: On
And I still have to explicitly declare Option Strict On at the top of
*every* code page. I did happen upon this article:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102081
But it's over a year old, and I would think this was surely fixed by now.
Also, this article states that the issue only applies to code in the
App_Code folder. However, I am having this issue with all code, including
my code behind my ASPX pages, so maybe I'm not experiencing the same issue.
Thanks in advance for any clarification on this odd but glaring issue.
Jerad
the project-level setting for Option Strict?
I have the setting turned on in web.config:
<compilation debug="true" strict="true" explicit="true"
urlLinePragmas="true"/>
And also in the preferences:
Tools > Options > Projects and Solutions > VB Defaults > Option Strict: On
And I still have to explicitly declare Option Strict On at the top of
*every* code page. I did happen upon this article:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102081
But it's over a year old, and I would think this was surely fixed by now.
Also, this article states that the issue only applies to code in the
App_Code folder. However, I am having this issue with all code, including
my code behind my ASPX pages, so maybe I'm not experiencing the same issue.
Thanks in advance for any clarification on this odd but glaring issue.
Jerad