BTDF / DeploymentFramework

The Deployment Framework for BizTalk is the most powerful and customizable, yet easy-to-use toolkit for deploying and configuring your BizTalk solutions.
MIT License
53 stars 24 forks source link

Fail to UndeployComponents when IncludeInstallUtilForComponents is true #333

Open tfabraham opened 6 years ago

tfabraham commented 6 years ago

I am currently using an assembly that has an Installer interface added that will auto register itself during deployment by setting the flag IncludeInstallUtilForComponents to 'true'. This construction is used when registering a WCF extension in the machine.config.

This solution works fine on deployment, but when undeploying this solution it fails. The error stated is that it is unable to run installutil /u for this assembly because there are problems with the Configuration --> Specifically stating that the mentioned assembly is missing from the assembly cache.

Upon inspection of the Target UndeployComponents from the BizTalkDeploymentFramework.targets I found out that the order is indeed first removing assembly from the assembly cache followed by an installutil /u command.

The easy fix is to change the order in the events, first installutil instruction followed by the gacutil /u instruction.

This work item was migrated from CodePlex

CodePlex work item ID: '10595' Vote count: '1'