VS.NET 2003 - Option Strict On in all new projects

  • Thread starter Thread starter Robert Scheer
  • Start date Start date
R

Robert Scheer

Hi.

My development machine uses vs.net 2002. On this machine I changed the
WindowsApplication.vbproj file found at C:\Program Files\Microsoft
Visual Studio .NET 2002\Vb7\VBWizards\WindowsApplication\Templates\1033
to always start new projects with Option Strict On:

<VisualStudioProject>
<VisualBasic>
<Build>
<Settings
OutputType = "WinExe"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "On"
If I change the same file on a machine using vs.net 2003, this change
is ignored. Is there anything different on vs.net 2003 that I need to
do in order for this to work?

Thanks,
Robert Scheer
 
Robert,

You can change the setting directly from VS2003 and I'm certain it will
stick.

Without a solution open go to Options/Projects/VB Defaults
 
Robert Scheer said:
If I change the same file on a machine using vs.net 2003, this
change is ignored. Is there anything different on vs.net 2003 that I
need to do in order for this to work?

Menu Tools -> Options: Projects -> VB-Standard
 
Back
Top