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

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
 
T

Tom Leylan

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
 
A

Armin Zingler

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top