-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] VS 2022 v17.10.4 Error: Toolset directory for version '14.3' was not found. #16649
Comments
Looks like I see similar issue at #16239. |
Hi @jmoutray Thanks for your question. This is expected, Conan 1 did not update to provision for the latest VS 17.10 update that changed the versioning approach, only Conan 2 did implement the necessary changes to support VS 17.10 (with 14.4 toolset version, v143 platform toolset). I am afraid this is not planned to be fixed in Conan 1, because Conan 1 uses the |
Thanks for the response. (Just to clarify: above I said |
Update: I tried using conan 2 and I learned a couple things: conan.tools.microsoft.MSBuildToolChain (conan 1 and 2) sets <PropertyGroup Label="Configuration">
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup> This property assignment appears to work but does not propagate to the VS macro However, and more concerning, adding The original conan 1 MSBuild helper launches Therefore, I feel like I am not able to use the VS 2015 .vcxproj files, and build for the v143 platform toolset using conan.tools.microsoft helpers. |
Hi @jmoutray We have some tests in the suite like:
This test will be using different It would be good to have a fully reproducible case. The tests are using the template
to try things. If you could please try to it, and provide the full output of the later
Then I get the expected |
Here's the rub... My .vcxproj has If I remove the However, two points:
For now, I can configure my .vcxproj file similar to the hello.vcxproj, and deal with the debugging issue. And I quickly attempted to duplicate this problem and was unable to; therefore, it may have been an issue with VS 2015 and not so with VS 2022. |
Thanks very much for the feedback @jmoutray If this happens again in more modern VS versions, please feel free to re-open or create a new ticket, maybe we can have a look to try to improve somehow the integration or at least the docs for this. |
What is your question?
I have VS 2015 project files, using conan.tools.microsoft generators/builders and setting
compiler.toolset=v143
,$(PlatformToolset) = v143
, but$(PlatformToolsetVersion) = 140
(wrong).I have conan v1.59.0 and VS 2022 v17.9.0 installed.
Running on another machine with conan v1.59.0 and VS 2022 v17.9.6,
$(PlatformToolsetVersion) = 143
(correct).I updated my VS 2022 from v17.9.0 to v17.10.4 and now I am seeing this error:
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: