Closed Jeanmilost closed 1 month ago
Hi @Jeanmilost,
Thanks a lot for reporting. I think that we are facing here the same issue as in this case: https://github.com/conan-io/conan/issues/16239
We are going to check what we can do in the plugin so that this does not happen. In the meantime you can modify the prebuild step that makes conan install the packages in Configuration Properties > Build Events > Pre-Build Event
You can add the -s="compiler.version=194"
there,
or better, you can modify the part:
-pr:h=.conan/$(Configuration)_$(Platform) -pr:b=default
and instead of using that pr:h
create another profile of your choice (it should have compiler.version=194
and match the Visual Studio settings selected in the project)
Hope this helps.
Hi @Jeanmilost, We have just released 2.0.7 of the extension, please update, the issue should have been fixed in this version. Thanks for reporting.
I recently tried to install a working compilation system on a new computer. The Conan version I use is the 2.5.0, and the VS extension is the 2.0.6
While trying to install Boost in my project, I faced the following issue:
As you can see, the issue is:
Toolset directory for version '14.3' was not found
After searching a lot, I could find that the issue happened because I had only the 14.40.33807 version installed in my Visual Studio 2022 MSVC toolset folder (on my computer: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC), which is the latest version of the toolset.
After installed a previous version of this toolset (14.32.31326) from my Visual Studio Installer, all came fine and I could achieve my compilation.
Can you fix that please?