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 install fails when ConanCenter is disabled #205

Closed GregDomjan closed 3 months ago

GregDomjan commented 2 years ago

Need to use content via Artifactory mostly, so disabled conan center $conan remote disable conan-center

When performing install, it seems to only try conan center and not other remotes?
There is no way to configure a specific remote.

13/05/2022 8:08:59 PM: [Conan.VisualStudio] Calling process 'C:\Program Files\Conan\conan\conan.exe' with arguments 'install C:\Data\conanfile.txt -g visual_studio --install-folder C:\Data\bin\Win32\Release.conan -s arch=x86 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MT --build=never --update' ... 13/05/2022 8:09:00 PM: ERROR: Remote 'conan-center' is disabled

Enhancement request, enable providing a specific remote -r remote as part of VS config