Default Strict Option in VB.NET

Whenever I created a new VB.NET program, I had to go into the project properties and set "Option strict". Can I do this once so that it becomes standard for every time when creating a new project?

+5
source share
4 answers

In Visual Studio, go to "Tools" → "Options" → "Projects and Solutions" → "VB Default Settings" → "Strict Option". Set it to "On".

Each time you create a new project, by default it will have the Strict On parameter.

+5
source

Strict Tools → Options → Projects and Solutions → VB Defaults:

Enter image description here

+5

Visual Studio "" > "", " " " VB".

+1

Visual Studio " " " VB".

0

All Articles