dependency assembly not found!

.NET obfuscator and automated error reporting

dependency assembly not found!

Postby arif » Wed Jul 20, 2011 10:12 am


I have following application structure

Project A (main exe)
Project B
Project C
Project D

Project A depends on Project B and C.

When i create a Smart Assembly project and specify Project A output exe smart assembly tells me about "dependency not found: Project D". All other dependency assemblies (Project B and C ) are copied to main assembly's directory...however Project D output is not copied as it shouldn't be.

Why does smart assembly reports about the missing dependency?

I appreciate Any help!

Posts: 2
Joined: Wed Jul 20, 2011 10:04 am

Postby james.davies » Thu Jul 21, 2011 11:29 am

Here is the article that describes how SmartAssembly searches for dependencies ... rtAssembly

Additionally you can remove a folder from the dependiency search by editing an XML file: SmartAssembly.settings. This will be in a location like:

C:\\ProgramData\\Red Gate\\SmartAssemblyThere will be an editable section with the tag <DependenciesSearchPaths>
James Davies
Technical Support Engineer
Red Gate Software
Posts: 46
Joined: Tue Apr 19, 2011 1:39 pm

Postby arif » Thu Jul 21, 2011 10:23 pm

Thanks for the reply.

i have 100+ projects and with different set of dependencies. the solution presented in the article you mentioned is not a great deal of help in this case. it would be problem to maintain the growing xml file. even if go with it; it won't help for other developers working on the same smart assembly project file (due to absolute path).

i did find the cause of this behavior. it was very simple thing. in the visual studio project reference's the Copy Local was set to false for the dependecy_assembly. changing it to true fixed the problem.
Posts: 2
Joined: Wed Jul 20, 2011 10:04 am

Return to SmartAssembly 6

Who is online

Users browsing this forum: Bing [Bot] and 0 guests