I am trying to create a BizTalk application (App1
) and add resources using the BTSTask
command line utility. Some of the App1
BizTalk assemblies depend on a few SharedApp
BizTalk assemblies. I added the SharedApp
assemblies to the GAC using gacutil
and verified they were present in the GAC. When I run BTSTask AddResource
, the command fails for any App1
BizTalk assembly that depends on any of the SharedApp
assemblies.
The error message tells me a specific SharedApp
dll cannot be found for reference. I have verified the details (name, version, etc.) on the SharedApp
assembly are correct; it is the correct assembly and is present in the GAC.
Shouldn't BizTalk be able to detect those SharedApp
assemblies in the GAC and allow them to be used as reference assemblies when I call AddResource
?
Any thoughts on why adding the SharedApp
assemblies to the GAC did not solve my problem?
EDIT: Adding command line example text
BTSTask.exe AddApp -ApplicationName:App1 -Server:BTServer1 -Database:BTDatabase1 -Description:App1_instance
BTSTask.exe AddResource -ApplicationName:App1 -Source:"path_to_App1.Assembly.dll" -Destination:"destination_path_for_App1.Assembly.dll" -Type:BizTalkAssembly -Options:GacOnAdd,GacOnInstall -Overwrite -Server:BTServer1 -Database:BTDatabase1