Wednesday, July 31, 2013

BTDF – Warning Assembly “……" depends on the following assemblies that must be installed in the Global Assembly Cache

This post hopefully helps when facing the aforementioned error while depkiying, buildingwith the btdf.

Problem
warning : Assembly “……" depends on the following assemblies that must be installed in the Global Assembly Cache
What is the dll we get the error on????? Follow the next step to get more info.
Cause
One or more of your projects have a reference to an Assembly, which has Copy ‘Local = false’. This causes the GacUtil called by MSBuild / BTDF to do it’s best to keep you busy.
image
 
Solution
Open ALL your projects, look in every refence for the ‘Copy Local’ and change it to True
image

Result
EXEC : warning : Assembly "<>.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=<>" depends on the following assemblies that must be installed in the Global Assembly Cache for runtime to succeed:
  Assembly "Microsoft.Practices.ESB.ExceptionHandling.Schemas.Faults, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  Assembly 



HTH,
Sander

No comments: