title: Never-build package [xxx] must be recompiled / SHARING VIOLATION [Delphi documentation issue]
body: <p>I just upgraded to Delphi XE7. Now a package that complied perfectly in XE doesn't compile anymore.</p>
  
  <p>I have package B that requires package A that has ImplicitBuild set to OFF.
  First thing first, I compiled and installed package A. Then I tried to compile package B but the compiler says:   </p>
  
  <blockquote>
    <p>[dcc32 Fatal Error] A.dpk(39): E2225 Never-build package 'A' must be
    recompiled.</p>
    
    <p>[dcc32 Fatal Error] B.dpk(34): E2202 Required package 'A' not found.</p>
  </blockquote>
  
  <p>Obviously, package A was found since the compiler knows its content (it know that the ImplicitBuild is set to OFF).
  Also, obviously, I added the path for package A in 'Library path'.</p>
  
  <p>If I remove the ImplicitBuild directive from package A, the compiler simply says:</p>
  
  <blockquote>
    <p>'Required package 'A' not found.'</p>
  </blockquote>
  
  <p><strong>Process Monitor</strong> shows an interesting entry:</p>
  
  <blockquote>
    <p>C:\Users\trei\Documents\Embarcadero\Studio\15.0\Imports\A.dcp &lt;-- <strong>PATH
    NOT FOUND</strong></p>
    
    <p>C:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\A.bpl  &lt;--
    <strong>SHARING VIOLATION</strong></p>
  </blockquote>
  
  <p>There is no '15.0' folder in 'C:\Users\trei\Documents\Embarcadero\Studio\'.  </p>
  
  <ol>
  <li>Why isn't the A.dpk file found?</li>
  <li>Why Delphi wants to recompile the A package anyway?</li>
  <li>Why is Delphi searching the DCP file in the 'Imports' folder? The DCP is stored in 'c:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\A.dcp'</li>
  </ol>
  
  <hr>
  
  <p>Interesting fact:<br>
  There was a bug related to this message (bug #109584) but it was marked as fixed in XE4. 
  <a href="http://qc.embarcadero.com/wc/qcmain.aspx?d=109584" rel="nofollow">http://qc.embarcadero.com/wc/qcmain.aspx?d=109584</a><br>
  Regression? </p>