Option Strict on by default in VB.NET

前端 未结 4 1946
梦谈多话
梦谈多话 2020-11-27 23:46

Whenever I created a new VB.NET program I must go into the project\'s properties and set \'Option strict\' on. Can I do that once so it is a default for every time I create

相关标签:
4条回答
  • 2020-11-28 00:04

    Check out Option Strict under menu Tools -> Options -> Projects and Solutions -> VB Defaults:

    Enter image description here

    0 讨论(0)
  • 2020-11-28 00:13

    In Visual Studio, go menu Tools -> Options -> Projects and Solutions -> VB defaults -> Option Strict. Set it to "On".

    Every time you create a new project, it will have Option Strict On by default.

    0 讨论(0)
  • 2020-11-28 00:13

    You can set that in the Visual Studio options, under Projects and Solutions and VB Defaults.

    0 讨论(0)
  • 2020-11-28 00:18

    In your Visual Studio, go to Tools > Options, open Projects and Solutions, and select VB Defaults.

    0 讨论(0)
提交回复
热议问题