[MonoDevelop] Build error when value is never used
m.j.hutchinson at gmail.com
Thu Apr 29 17:57:31 EDT 2010
On Thu, Apr 29, 2010 at 5:29 AM, Smuhr <steven.muhr at gmail.com> wrote:
> Good morning,
> I am using Mono 2.6 and MonoDevelop 2.2.
> When I build my solution, I have a build error : "Error CS0219: The variable
> 'myVar' is assigned but its value is never used (CS0219).
> This should be a Warning and not a compilation Error.
> Should I configure something in MonoDevelop to avoid this error?
It sounds like the "warnings as errors" option in your project options
has been switched on.
More information about the Monodevelop-list