title: Which one is correct approach for assembly reference in csproj file?
body: <p>In my one of the MSI Installer I am updating the assembly and project reference relative path pro-grammatically.My all reference assemblies inside my application folder.</p>
  
  <p>I try to implement both the path relative and absolute path. Both are working fine.</p>
  
  <p>Relative Path</p>
  
  <pre><code> &lt;Reference Include="log4net"&gt;
        &lt;HintPath&gt;..\..\..\..\log4net.dll&lt;/HintPath&gt;
   &lt;/Reference&gt;
  </code></pre>
  
  <p>Absolute path </p>
  
  <pre><code> &lt;Reference Include="log4net"&gt;
            &lt;HintPath&gt;C:\Program files\Myapplication\log4net.dll&lt;/HintPath&gt;
   &lt;/Reference&gt;
  </code></pre>
  
  <p>I have only seen absolute path reference when I take the reference of assembly from the Reference Assemblies Path or GAC files.</p>
  
  <pre><code>C:\Program Files (x86)\Reference Assemblies
  
   &lt;Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"&gt;
        &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;
        &lt;HintPath&gt;C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0\System.Management.Automation.dll&lt;/HintPath&gt;
      &lt;/Reference&gt;
  </code></pre>
  
  <p>Which one is correct approach for updating path into <code>.Csproj</code> file?</p>