Note that there are some explanatory texts on larger screens.

plurals
  1. PONant: How to structure svn:externals for building class libraries that reference 3rd party dll's
    text
    copied!<p>I'm using subversion and nant (and visual studio IDE)</p> <p>I've been following the suggested project structure at <a href="http://blog.jpboodhoo.com/NAntStarterSeries.aspx" rel="nofollow noreferrer">http://blog.jpboodhoo.com/NAntStarterSeries.aspx</a> which advocates self contained subversion directories where a developer can do a checkout and immediately build a project in a single step.</p> <p>My repo structure is like:</p> <pre><code>/Repo /MainProject /trunk /doc &lt;-- documentation /lib &lt;-- binary-only DLLs /src &lt;-- source code for MainProject /tools &lt;-- holds tools like nant, nunit, etc ... /ClassLibrary1 /trunk /doc /lib /src /tools ... /ClassLibrary2 /trunk /doc /lib /src /tools </code></pre> <p>What's not clear is how to structure a project that has class libraries which in turn reference third party library dll's themselves. </p> <p>Currently, I have a main project with a working directory like</p> <p>Example:</p> <pre><code>/MainProject /build /lib /src /MainProject /ClassLibrary1 &lt;-- svn external to svn://server/repo/ClassLibrary1/trunk/src /ClassLibrary2 &lt;-- svn external to svn://server/repo/ClassLibrary2/trunk/src /tools ... </code></pre> <p>When building MainProject, I compile the class libraries and output the dll's to the build folder. However, the class libraries themselves have 3rd party binary-only DLL's that they reference.</p> <p>My questions is in order to build the MainProject I have to somehow get the 3rd party DLL's from the class libraries into the build output. How do I do that?</p> <p>Thoughts: 1. Should I store copies of these 3rd party dlls in the MainProject's lib folder? 2. Or should my svn:external reference be to the trunk of the class library project rather than the src so that I can access the class library's lib folder? 3. Should I use the subversion 1.6 feature of svn:externals to individual files?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload