Red Gate forums :: View topic - Specifying dependency search paths per project?
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

Specifying dependency search paths per project?

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



Joined: 26 May 2009
Posts: 4

PostPosted: Thu Nov 24, 2011 2:34 pm    Post subject: Specifying dependency search paths per project? Reply with quote

Hi,

I would like to know if there's anyway to specify the dependency search paths on a per-project basis.

We are using SmartAssembly on our build server and the folder path that the source code is checked out into has a folder name that is randomly generated by the build server. This means that specifying the paths in the SmartAssembly.settings file is not an option for us.

Our current solution is to get the build process to update the SmartAssembly.settings file with the correct paths just before it does the obfuscation and this works. However we now want to run multiple builds at the same time and so this solution will no longer work as more than one build may be obfuscating at the same time.

Is there a solution to this and if not, would it be possible to get this changed in a future release.

Many thanks
Back to top
View user's profile Send private message
pahunt



Joined: 26 May 2009
Posts: 4

PostPosted: Fri Nov 25, 2011 11:14 am    Post subject: Reply with quote

OK so after a bit more searching I've found this page which just confuses me completely. Where do the paths in SmartAssembly.settings fit into this?
Back to top
View user's profile Send private message
pahunt



Joined: 26 May 2009
Posts: 4

PostPosted: Fri Nov 25, 2011 2:31 pm    Post subject: Reply with quote

Well I've answered my own question. The solution was that I didn't need to worry about the search paths in SmartAssembly.settings at all, in fact I've removed them all completely to avoid any future confusion. What I did to get it working was to make sure I had the CopyLocal property of the dependencies set to True in the C# project and now it picks up the dependencies from the bin folder.
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