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-
Working with Microsoft Visual Studio .NET
Opening an Application in Visual Studio .NET
Custom Controls Created by Iron Speed Designer
Enabling and Disabling Strict Compilation Mode
Compiling Applications in Debug Mode
Editing ASPX Pages in Visual Studio .NET