I work on a distributed team and we have lots of code analysis styles set to Error which keeps the code in pretty good shape style-wise. However, the one that keeps coming up is CS0169 for unused variables.
I realise that this is not actually a code analysis error and is coming from the compiler.
How can I get it error rather than show a warning? I tried adding it to the Code Analysis rule set (despite it not being available in the editor!) hoping to trick it! But no luck ...
Thanks