conan-io / conan-vs-extension

Conan Extension for Visual Studio
https://marketplace.visualstudio.com/items?itemName=conan-io.conan-vs-extension
MIT License
59 stars 34 forks source link

conflicts when vs solution contains multiple projects that use conan #196

Closed playgithub closed 3 years ago

playgithub commented 3 years ago

For example, Solution A contains Project B and Project C

Both B and C use conanfile.py / conanfile.txt to generate dependencies, they output to the same place, so A's output will override B's.

What about making the output of conanfile.py / conanfile.txt be local to project it serves?

playgithub commented 3 years ago

The conflicts is solved by setting conan-vs-extenstion option Conan installation directory to $(ProjectDir)$(IntDir).conan