开发者

Option Strict on by default in VB.NET

开发者 https://www.devze.com 2023-02-14 17:54 出处:网络
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开发者_如何学Go time I create a new projec

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开发者_如何学Go time I create a new project?


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.


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

Option Strict on by default in VB.NET


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消