Why is cablib.dll deployed to GAC?

Oct 22, 2009 at 9:26 PM
Edited Oct 22, 2009 at 9:35 PM

After I ran the build and openned the manifest.xml in WSP, I saw next.

I am wondering why the <Assembly Location="cablib.dll" DeploymentTarget="GlobalAssemblyCache" />

<?xml version="1.0" ?>

- <!--
 Solution created by WSPBuilder. 10/22/2009 2:04:29 PM  
  -->
- <Solution SolutionId="84556a87-8b42-416a-93e7-655273307f3e" xmlns="http://schemas.microsoft.com/sharepoint/">
- <Assemblies>
- <Assembly Location="SPGuidField.dll" DeploymentTarget="GlobalAssemblyCache">
- <SafeControls>
  <SafeControl Assembly="SPGuidField, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cdb64ed5b2b26d43" Namespace="SPGuidField" TypeName="*" Safe="True" />
  </SafeControls>
  </Assembly>
  <Assembly Location="cablib.dll" DeploymentTarget="GlobalAssemblyCache" />
  </Assemblies>
- <TemplateFiles>
  <TemplateFile Location="CONTROLTEMPLATES\GuidFieldFieldEditor.ascx" />
  <TemplateFile Location="XML\fldtypes_GuidField.xml" />
  </TemplateFiles>
- <FeatureManifests>
  <FeatureManifest Location="WebPartFeature1\feature.xml" />
  </FeatureManifests>
  </Solution>
Coordinator
Nov 4, 2009 at 6:11 AM

You have to make sure that CABLIB.DLL is not located under Bin / GAC or 80 folders. Then it will not be included.