Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The problem with your build configuration is the following: say you have 3 projects and 2 solutions.</p> <pre><code>Solution1 - Project1 - Project2 Solution2 - Project1 - Project3 </code></pre> <p>All of a sudden, building Solution2 builds <em>part</em> of the code for Solution1, leaving it in an invalid state (the latest binaries are either incompatible or did not need to be built).</p> <p>Every project should be included in a single solution. Other solutions can rely on, but should not actively change the code of those projects. In this way, they can reference a built DLL because there's no reason to rebuild the external dependencies.</p> <p>To summarize, you should take some time and restructure your solutions to meet the following conditions:</p> <ul> <li>Every project is included in exactly one solution.</li> <li>If a project depends on another project within the same solution, make it a project reference.</li> <li>If a project depends on another project in a <em>different</em> solution, make it a DLL reference.</li> </ul> <p>In addition to the above, I recommend creating an "Externals" directory for placing builds in when they are referenced by other solutions. Say you restructure to the following:</p> <pre><code>Solution1 - Project1 - Project2 -&gt; reference project Project1 Solution2 - Project3 -&gt; reference Project1.dll </code></pre> <p>In this case, you'd place copies of Project1.dll and Project1.pdb in <code>Externals\Project1\Debug</code> and <code>Externals\Project1\Release</code>, and reference <code>External\Project1\$(Configuration)\Project1.dll</code> in Project3. Only update the builds in the Externals directory when you are ready to push the build to all your other solutions.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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