Other Compile Options
Visual Studio 2015 enables you to get strong control over the build process. For example, you can control compile options that are specific to the Visual Basic language. Table 2.3 lists them in detail.
Option Strict On
By default, Option Strict
is set to Off
. You can set it to On
each time you create a new project, but you can also change the default setting by selecting Tools, Options. Then in the Options dialog box, you expand the Projects and Solutions node, select VB Defaults, and change the default setting for the Option Strict combo box.
The background compiler also considers ...
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.