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

Support config in solution root directory #13

Open
SamuelJohnsonMedia opened this issue Nov 29, 2020 · 3 comments
Open

Support config in solution root directory #13

SamuelJohnsonMedia opened this issue Nov 29, 2020 · 3 comments
Assignees

Comments

@SamuelJohnsonMedia
Copy link

Thanks for the extension, good work but I am having some problems...

Config file placed in solution root:

[WARN]for-review
[WARN]for review
[INFO][STARTS(TODO)]
[WARN][STARTS(FIXME)]
[ERROR][CONTAINS(before check-in)]

With the TODO comment indicated below, it is appearing as a warning which seems to indicate that the config file is being ignored:

Todo

I even tried copying the config file to all project root folders and it still doesnt work.

What am I doing wrong?

@SamuelJohnsonMedia
Copy link
Author

I moved the todo-warn.config file to my %appdata% and it does appear to work; so it seems it is not finding the project or solution level files for me

@mrlacey
Copy link
Owner

mrlacey commented Nov 30, 2020

@SamuelJohnsonMedia Are you using the Visual Studio Extension or the NuGet package?

The code only looks for config files in the appdata folder or in the project and with the build action of "Additional Files".

How valuable would it be to add support for files in the project or solution folders? (Noting that this would probably only work with the extension and not the NuGet package.)

@SamuelJohnsonMedia
Copy link
Author

Hi; thanks for the reply. I am using the extension.

Personally I would find it very valuable for solution based configuration as I would like all my projects to have the same settings within the solution.

@mrlacey mrlacey self-assigned this Jan 18, 2022
@mrlacey mrlacey changed the title Doesn't seem to work for me Support config in solution root directory Jan 18, 2022
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