
<assemblies> | 441
web.config
Reference
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Child Elements
<assemblies>, <compilers>
Example
The example enables the Visual Basic .NET Option Strict compiler option and
disables batch compilation:
<configuration>
<system.web>
<compilation
batch="false"
strict="true">
</compilation>
</system.web>
</configuration>
Notes
Make sure you understand the impact of changes to this element before making
modifications. For example, setting the
debug attribute to True will have a signifi-
cant negative impact on performance. While setting the
strict attribute to True
will reduce the likelihood of bugs from implicit data type conversion, it could also
increase the number of compiler errors you get while developing your code.
<assemblies>
<assemblies>
<add assembly=assemblyInfo />
<remove assembly=assemblyInfo />
<clear />
</assemblies>
Adds or removes assemblies to be referenced and linked during dynamic compila-
tion of ASP.NET pages. By default, the mscorlib, System, System.Drawing,
System.EnterpriseServices, System.Web, System.Data, System.Web.Services, and
System.Xml assemblies are referenced during dynamic compilation, as are any
assemblies located in the application directory’s bin subdirectory.
Scope
Any
Attributes
None
Child Elements
<add>
Adds an assembly specified by the
assembly attribute to the list of