Skip to content

Is it possible to have a single config.nsdepcop at sln level #77

Closed Answered by realvizu
kimpenhaus asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that's correct. Currently, each project folder where you want to run the tool must include a config.nsdepcop file.

This requirement exists because the tool functions as a Roslyn analyzer, which operates within the project scope and processes the config file as an additional file.

That said, it could be possible to extend NsDepCop to look for a solution-level config file if a project-level one is not present. I'll create an issue for this enhancement, and we'll see if someone is interested in implementing it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by realvizu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants