You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I placed a .conanrc file with conan_home=d:\workdir\conan in the root of my d: drive, and then ran conan profile detect in d:\workdir\project. The .conanrc file was not detected and profile is written to default location.
Moving .conanrc to d:\workdir, it is detected
How to reproduce it
No response
The text was updated successfully, but these errors were encountered:
So far, this was intentional. The .conanrc is intended to be a per-project mechanism, so setting it in the root directory would make it global configuration, and that can be configured at the system level (via CONAN_HOME env-var, for example). Why do you want to put the .conanrc in the root folder, can you please elaborate a bit more?
I'm happy with that restriction (perhaps it could be documented if not already)?
I was trying to put it in the root of my drive because I would like a global config for a user without use of envvars. The reason is explained here: #16431. If that feature was supported, I would not be trying to place it in the drive root.
I think this ticket was closed in Conan 2.5 in PR #16514.
Closing the ticket, but please let us know, create new tickets or re-open if this is not the case. Thanks for the feedback!
Describe the bug
Windows, conan 2.4.0
I placed a .conanrc file with conan_home=d:\workdir\conan in the root of my d: drive, and then ran conan profile detect in d:\workdir\project. The .conanrc file was not detected and profile is written to default location.
Moving .conanrc to d:\workdir, it is detected
How to reproduce it
No response
The text was updated successfully, but these errors were encountered: