Reference GAC assemblies from web.config

 

How to reference assemblies in the Global Assembly Cache from your web.config (no dll's are needed in bin):

<system.web>
   <compilation>
       <assemblies>
          <add assembly="MNissen.DataControls, Version=1.1.0.0, Culture=neutral, PublicKeyToken=e21df62f5c740a13"  />
          <add assembly="Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e21df62f5c740a13"  />
          <add assembly="Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e21df62f5c740a13"  />
          <add assembly="Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e21df62f5c740a13"  />
          <add assembly="Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e21df62f5c740a13"  />
    </assemblies>
    </compilation>
</system.web>

4 Comments

Comments have been disabled for this content.