Skip to content
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

Local profile not found using relative path #31

Open
sharpepd opened this issue Jun 12, 2023 · 1 comment
Open

Local profile not found using relative path #31

sharpepd opened this issue Jun 12, 2023 · 1 comment

Comments

@sharpepd
Copy link

I have a local Conan profile folder .azuredevops\conan\default and I am configuring the VS Conan install command in .vsconan\config.json as follows:

        "install": [
            {
                "name": "default",
                "description": "Default profile",
                "detail": "Installs ready for development using the project default profile",
                "conanRecipe": "conanfile.py",
                "installFolder": "build/Release/conan",
                "profile": ".azuredevops/conan/default",
                "args": [
                    "-pr:b windows"
                ]
            }
        ]

When i run the Install command I get the error:
ERROR: Profile not found: .azuredevops/conan/default

I am running on a windows PC so, I also tried with "\" and I also tried making relative to the config.json, all with the same result.

I only can get this to work, if I provide the absolute path, which is not an option as I want other users to be able to clone the repo where they like and it still work!

I tried to find some clues in the documentation, but could not find it.

Is it possible to provide a relative path to a local profile? If not please can someone add that feature?

I am using Conan version 1.59.0 with VS Code:

Version: 1.79.0 (user setup)
Commit: b380da4ef1ee00e224a15c1d4d9793e27c2b6302
Date: 2023-06-07T14:26:35.552Z
Electron: 22.5.5
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045

and VSConan v0.4.0

@afri-bit
Copy link
Owner

Closing the issue. Cleaning the issues for now, trying to solve the elementary issues. Will get back to you and this ticket soon!

@afri-bit afri-bit reopened this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants