Search code examples
c++boostvisual-studio-2017boost-asio

Visual Studio doesn't recognize boost::asio


  1. I download the last version of boost.
  2. I built binaries by executing "bootstrap" and "./b23
  3. I added the include directory "$(SolutionDir)lib\boost_1_75_0" and linked the binary one "$(SolutionDir)lib\boost_1_75_0\stage\lib"

Everything compiles and works fine. I have a problem that prevents me from being productive: VS is unable to recognize libraries... Here a picture:

enter image description here

Why intelisense unable tor ecognize the library, but is able to work?

[EDIT 1]

Here's my project layout. Project layout

Thanks,


Solution

  • I fixed it by upgrading to Visual Studio 2019.

    Thanks.