Enabling and Disabling Strict Compilation Mode

You can enable or disable ‘strict mode’ compilation in Visual Studio .NET.  Locate the CompileApplication.rsp file in your application folder:

…\<App Folder>\CompileApplication.rsp

CompileApplication.rsp may contain the “optionstrict” tag.  To enable strict mode, change this setting to:

/optionstrict+

To disable strict mode, change the setting to:

/optionstrict-

See Also

Working with Microsoft Visual Studio .NET