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

Conan files in projects within solution folders are never found #190

Closed Sabash616 closed 8 months ago

Sabash616 commented 3 years ago

InstallConanDepsIfRequired() iterates over DTE.Solution.Projects, which doesn't contain projects within solution folders. Instead, DTE.Solution.Projects contains an item for the solution folder of type vsProjectKindSolutionFolder and that would need to be iterated over separately to find contained projects.

Consequently, if you have projects within a solution folder, the conan files you may add to those projects are not found upon opening the solution or changing the active solution configuration.