Hi All,
I have a BizTalk application called "ABC.Schemas" which only has the common schemas used across ABC.Ideally,it will be referenced by many more projects ,as it is the place holder for common schemas.
I have referenced the ABC.Schemas.dll in other Maps / Orchestrations projects & they are also deployed as ABC.Maps / ABC.Orchestrations applications.
Now , whenever I make any changes to the ABC.Schemas.dll (add new schema/update existing schema) & try to deploy it again (which in VS terms updating the assembly) , It is not allowing me to do .
It is giving an error saying
Error 4 Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Cannot update assembly "ABC.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=152f7997c4196b82"
because it is used by assemblies which are not in the set of assemblies to update.
To update the assembly, remove the following assemblies:
ABC.Maps / ABC.Orchestrations , Version=1.0.0.0, Culture=neutral, PublicKeyToken=132f7997c4196b82 0 0
So , How do i resolve this ? Do i need to delete resouces manually every time ? for ABC.Maps / ABC.Orchestrations , every time I make a change to the common ABC.Schemas ?
I do understand that this error comes because there are entery for this Schema allready there in GAC...and there are two way to remove that enetry 1) manully, which i am doing 2) Is there a way to remove this by using script ?
I am doing correct ?
How do I acheive Loosly coupling here ? Please provide your Input .
Thanks & Regards
Nilesh Thakur.