Skip to content

[Bug]: conanUserHome is ignored #54

@Abbotta4

Description

@Abbotta4

Issue Summary

The conanUserHome configuration option is not respected and the default of ~/.conan is always used

Actual Behavior

This is my configuration:

"vsconan.conan.profile.default": "debug",
    "vsconan.conan.profile.configurations": {
        "debug": {
            "conanVersion": "1",
            "conanPythonInterpreter": "/home/drew/.local/share/pipx/venvs/conan/bin/python",
            "conanExecutable": "/home/drew/.local/bin/conan",
            "conanExecutionMode": "conanExecutable",
            "conanUserHome": "${workspaceFolder}/.conan",
        }
    },

None of the recipes/profiles/etc. are picked up and if I create a new profile, I can see that the file is created in ~/.conan
I have also tried replacing ${workspaceFolder} with the actual path, but that did not work either.

Steps to Reproduce

  1. set conanUserHome to something other than ~/.conan
  2. add a conan profile
  3. click the profile and observe it was created in ~/.conan

Expected Behavior

conanUserHome should be respected and all recipes/profiles/etc should be read from and/or created in conanUserHome

Technical Details

Ubuntu 24.04 on WSL2

Error Logs (if any)

There are no logs on the VSConan Output tab and there are no errors reported to the notifications section of vscode

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions