Other Compile Options

Visual Studio 2010 enables developers to get deep control over the build process. With particular regard to Visual Basic, you can control other compile options that are specific to the language. Table 2.3 lists them in detail.

Table 2.3 Visual Basic Compile Options

image

Option Strict On

By default, Option Strict is Off. You can set it to On each time you create a new project but you can also change the default setting by clicking Tools, Options and then in the Options dialog expanding the Projects and Solutions node, finally selecting the VB Defaults element and changing the default setting.

Options shown in Table 2.3 are also ...

Get Visual Basic® 2010 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.