I got a big project from GitHub that I am trying to compile, and these errors just put me nuts:
Error CS0219: warning as error: the variable `memberInfo 'is assigned but its value is never used (CS0219)
Thanks.
This is in the project settings. Open the project options and go to:
Build-> Compiler
There is a flag:
warnings as errors
Right-click on the project in the solution explorer: options → build → compiler → set warning level to 2.