Share via


<remove> Element for <assemblies>

Removes a reference to an assembly.

<configuration>
   <system.web>
      <compilation>
         <assemblies>
**            <remove>**

<remove assembly="assembly"/>

Required Attribute

Attribute Description
assembly The assembly to be removed.

Example

The following example configures compilation settings for an application.

<configuration>
   <system.web>
      <compilation defaultLanguage="VB">
         <assemblies>
            <remove assembly="ADODB"/>
            <remove assembly="*"/>
         </assemblies>
      </compilation>
   </system.web>
</configuration>

Requirements

Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Configuration.

See Also

<assemblies> Element | ASP.NET Configuration | ASP.NET Settings Schema