SPC060205: Do not deploy assembly multiple times

In some case the same assembly is included in several WSP packages of the same solution. This can occur if Visual Studio or WSPBuilder includes the files automatically into the WSP package.

TypeName: DoNotDeployAssemblyMultipleTimes
CheckId: SPC060205
Severity: Error
Type: AssemblyFileReference
Resolution

The assembly should not be deployed multiple times.

Remarks

The rule only checks assemblies with DeploymentTarget='GlobalAssemblyCache'. Assemblies with DeploymentTarget='WebApplication' could be intentionally deployed multiple times to different web applications.

comments powered by Disqus