Skip to content

Ignore 'Option Strict On' defined in option settings with .net 5 in VB. #7708

Open
@vsfeedback

Description

@vsfeedback

This issue has a corresponding ticket on Developer Community. Please vote and comment there to make sure your voice is heard.


Hello,

With WPF and Winforms, using .net 5 and visual studio version 16.11.3, the Option Strict setting to On in the settings options is ignored.

It is necessary to add the instruction in the code.

Despite Option Strict On, there is no conversion error detected.

image

With the addition of the Option Strict On statement, the conversion error is detected.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions