0

I have a standard WSP package with a single assembly that is deployed to the GAC.

We have 2 versions of packages, both with the same assembly version and assembly file version.

Version 1 installs fine, deploying the assembly to gac.

Version 2 installs fine in test, however in production the assembly is not actually being deployed to the GAC on any of the WFE servers.

The ULS Logs contains the event saying "Deploying MyAssembly.dll to the GAC" but it never does. When I redeploy the version 1 solution to production, it deploys to the GAC fine.

I have confirmed that when the package is removed the assembly is correctly removed from the global assembly cache.

Has anyone come across something like this before, what could be preventing our assembly from being deployed to the GAC?

Any help is much appreciated! Thanks :)

1 Answer 1

1

We eventually concluded that there must have been a reference between the two assemblies or this could not have happened. We redeployed both WSP packages again and it is working sweet.

Lessons learnt were to formalise and test deployment processes, and to more vigilantly use labels and tags in source control to identify versions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.