Option Strict on by default in VB.NET

前端 未结 4 1981
梦谈多话
梦谈多话 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条回答
  •  猫巷女王i
    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.

提交回复
热议问题