My BizTalk solution has 10 BizTalk projects that are referenced between each other. In each project's properties I have set redeploy feature to 'true' (it's by default).
But when I try to redeploy the whole solution from VS 2012, I get following errors for some projects in solution:
Error 201 Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Cannot update assembly "Project1, Version=1.0.0.0, Culture=neutral" because it is used by assemblies which are not in the set of assemblies to update. To update the assembly, remove the following assemblies: Project2, Version=1.0.0.0, Culture=neutral Project3, Version=1.0.0.0, Culture=neutral Project4, Version=1.0.0.0, Culture=neutral Project5, Version=1.0.0.0, Culture=neutral Project6, Version=1.0.0.0, Culture=neutral
As I read from this article: http://blog.codit.eu/post/2013/07/30/Redeployment-notes-of-a-BizTalk-solution-from-Visual-studio.aspx
In the process of deploying a BizTalk assembly, you first needed to manually stop, unenlist, and unbind artifacts contained in the assembly in BizTalk Server and then remove the assembly from the BizTalk Management (configuration) database before deployment. Visual Studio will handle all those steps for you with this option Redeploy.
What could be the reason of my problem and possible solution?
Please check if you use subfolders in your solution.
I suggest to create new (additional) solution just for deployment purpose where you should avoid to use any solution subfolders
Andrei