I have a .dll named "MyProject", which uses another .dll I made named "MyLibrary". "MyLibrary" has a reference to: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
I've got a reference in "MyProject" to "MyLibrary", and Visual Studio/MSBuild can compile "MyProject" just fine.
S/A, however, cannot:
Copyright c Red Gate Software 2005-2013
Loading project MyProject.saproj
ERROR: Cannot find dependency 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', which is required for assembly:
MyLibrary, Version=22.214.171.124, Culture=neutral, PublicKeyToken=...
MyProject, Version=126.96.36.199, Culture=neutral, PublicKeyToken=...
Ensure that this dependency is in the main assembly folder, or in the Global Assembly Cache (GAC).
Now this is irritating because my S/A project is only obfuscating "MyProject".dll. It's not even trying to merge/embed "MyLibrary".dll, let alone even lower dependencies.
Can this get fixed?
My current work around plan is to script a copy of the Microsoft....dll to the "MyProject".dll folder.