Closed jlschrag closed 6 months ago
Update: After upgrading this project to the VS2017 compiler, the issue disappears. The extension does say it supports only VS2017, but it is worth noting that VS2017 will run projects targeting older compilers without updating them. So, it may be worth adding a note about compiler support somewhere.
Hi, @jlschrag . The extension should work for any version from VS 2015 (latest ones) to 2019, but it's true that I've only tested it without changing the matching compiler for each version (there are too many combinations). Probably there is an error when the extension creates the profile to use with Conan to download/build the requirements, but the stack trace is not useful at all 😞
We'll try to reproduce the error, but also to improve those logs/stack traces,...
I was able to install the extension without incident, and I created conanfile.txt in the same directory as my .vcxproj & .sln files. Contents:
(I have also tried without the options section.)
If I run the "Install" command on the project, I get the crash & stack trace below. However, if I run
conan install
from the command line, it runs without incident. MyWin32\Debug
folder contains a.conan
folder; though, I don't know if it was put there by the extension or by manually running the cli command.Conan extension version 1.2.2.346 Visual Studio 2017 - version 15.9.18 (though, this particular project is still using the VS2010 compiler) Windows 10 Pro - version 1909 (build 18363.535)