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

Fallback to well known config file place #188

Conversation

rodrmoya
Copy link
Contributor

@rodrmoya rodrmoya commented Aug 2, 2022

When running on NET6 (VSMac installer), SpecialFolder.ApplicationData
returns nothing, resulting in a relative path being used for the config
file. In those cases, check that's the case and fallback to well known
~/.config folder, which is, from what it seems, the default.

@rodrmoya rodrmoya self-assigned this Aug 2, 2022
When running on NET6 (VSMac installer), SpecialFolder.ApplicationData
returns nothing, resulting in a relative path being used for the config
file. So, just switch to use UserProfile, to which we append .config
for the well known, and expected, place for the config file.
@rodrmoya rodrmoya force-pushed the dev/rodrmoya/fix-unix-config-path-on-net6 branch from 03b3690 to dc770ff Compare August 2, 2022 14:40
@jonathanpeppers jonathanpeppers merged commit 3c55e9a into dotnet:main Aug 2, 2022
@rodrmoya rodrmoya deleted the dev/rodrmoya/fix-unix-config-path-on-net6 branch August 2, 2022 15:31
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

Successfully merging this pull request may close these issues.

2 participants