Red Gate forums :: View topic - dependency assembly not found!
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

dependency assembly not found!

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
arif



Joined: 20 Jul 2011
Posts: 2

PostPosted: Wed Jul 20, 2011 11:12 am    Post subject: dependency assembly not found! Reply with quote

Hi,

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!

Thanks
Arif
Back to top
View user's profile Send private message
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Thu Jul 21, 2011 12:29 pm    Post subject: Reply with quote

Here is the article that describes how SmartAssembly searches for dependencies

http://www.red-gate.com/supportcenter/Content?c=SmartAssembly%5chelp%5c6.0%5cSA_SearchingForDependencies.htm&p=SmartAssembly

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\SmartAssembly
There will be an editable section with the tag <DependenciesSearchPaths>
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
arif



Joined: 20 Jul 2011
Posts: 2

PostPosted: Thu Jul 21, 2011 11:23 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group