title: NuGet Boost include not working
body: <p>I have a problem with NuGet and boost. I have installed boost library and boost_thread library and used them before without any problems in my project. </p>
  
  <p>After installing boost_serialization and pulling changes from my git master repo my project broke.</p>
  
  <p>Here is the git diff from the packages.config file:</p>
  
  <pre><code>1    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  2    &lt;packages&gt;
      -  &lt;package id="boost" version="1.54.0.157" targetFramework="Native" /&gt;
      -  &lt;package id="boost_chrono-vc110" version="1.54.0.157" targetFramework="Native" /&gt;
      -  &lt;package id="boost_date_time-vc110" version="1.54.0.157" targetFramework="Native" /&gt;
      -  &lt;package id="boost_system-vc110" version="1.54.0.157" targetFramework="Native" /&gt;
      -  &lt;package id="boost_thread-vc110" version="1.54.0.157" targetFramework="Native" /&gt;
  3   +  &lt;package id="boost" version="1.55.0.10" targetFramework="Native" /&gt;
  4   +  &lt;package id="boost_chrono-vc110" version="1.55.0.10" targetFramework="Native" /&gt;
  5   +  &lt;package id="boost_date_time-vc110" version="1.55.0.10" targetFramework="Native" /&gt;
  6   +  &lt;package id="boost_serialization-vc110" version="1.55.0.10" targetFramework="Native" /&gt;
  7   +  &lt;package id="boost_system-vc110" version="1.55.0.10" targetFramework="Native" /&gt;
  8   +  &lt;package id="boost_thread-vc110" version="1.55.0.10" targetFramework="Native" /&gt;
  9    &lt;/packages&gt;
  </code></pre>
  
  <p>Relevant section of git diff from the vcxproj file:</p>
  
  <pre><code>   &lt;ImportGroup Label="ExtensionTargets"&gt;
  -    &lt;Import Project="packages\boost.1.54.0.157\build\native\boost.targets" Condition="Exists('packages\boost.1.54.0.157\build\native\boost.targets')" /&gt;
  -    &lt;Import Project="packages\boost_thread-vc110.1.54.0.157\build\native\boost_thread-vc110.targets" Condition="Exists('packages\boost_thread-vc110.1.54.0.157\build\native\boost_thread-vc110.targets')" /&gt;
  -    &lt;Import Project="packages\boost_system-vc110.1.54.0.157\build\native\boost_system-vc110.targets" Condition="Exists('packages\boost_system-vc110.1.54.0.157\build\native\boost_system-vc110.targets')" /&gt;
  -    &lt;Import Project="packages\boost_date_time-vc110.1.54.0.157\build\native\boost_date_time-vc110.targets" Condition="Exists('packages\boost_date_time-vc110.1.54.0.157\build\native\boost_date_time-vc110.targets')" /&gt;
  -    &lt;Import Project="packages\boost_chrono-vc110.1.54.0.157\build\native\boost_chrono-vc110.targets" Condition="Exists('packages\boost_chrono-vc110.1.54.0.157\build\native\boost_chrono-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost_chrono-vc110.1.55.0.10\build\native\boost_chrono-vc110.targets" Condition="Exists('packages\boost_chrono-vc110.1.55.0.10\build\native\boost_chrono-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost_date_time-vc110.1.55.0.10\build\native\boost_date_time-vc110.targets" Condition="Exists('packages\boost_date_time-vc110.1.55.0.10\build\native\boost_date_time-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost_system-vc110.1.55.0.10\build\native\boost_system-vc110.targets" Condition="Exists('packages\boost_system-vc110.1.55.0.10\build\native\boost_system-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost_thread-vc110.1.55.0.10\build\native\boost_thread-vc110.targets" Condition="Exists('packages\boost_thread-vc110.1.55.0.10\build\native\boost_thread-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost_serialization-vc110.1.55.0.10\build\native\boost_serialization-vc110.targets" Condition="Exists('packages\boost_serialization-vc110.1.55.0.10\build\native\boost_serialization-vc110.targets')" /&gt;
  +    &lt;Import Project="packages\boost.1.55.0.10\build\native\boost.targets" Condition="Exists('packages\boost.1.55.0.10\build\native\boost.targets')" /&gt;
     &lt;/ImportGroup&gt;
  </code></pre>
  
  <p>It seems like the version of the dependency was updated too. I tried to change it back to 1.54 but it didn't solve the problem either. I get errors like:</p>
  
  <p>IntelliSense: cannot open source file "boost/archive/text_oarchive.hpp"</p>
  
  <p>I tried including it with both </p>
  
  <pre><code>#include &lt;boost/archive/text_oarchive.hpp&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>#include "boost/archive/text_oarchive.hpp"
  </code></pre>
  
  <p>How do I solve this?</p>
  
  <p>EDIT1: Additional info is, that I have started using GitHub instead of TortoiseGit. Don't know if this matters.</p>