Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Sometimes you will get a package error which will increase the error count in a Mono for Android project, except that when the package error is resolved, the error count does not decrease even though the issue is fixed. So even though the project builds and runs, the error icons still show 1 or more errors which is confusing.
Cannot reproduce but it does randomly happen when working with Mono for Android projects.
My gut says this has something to do with MonoDevelop xbuild integration, since Mono for Android is currently the ~only project type that we build with xbuild instead of MonoDevelop's internal build logic.
This can be triggered by adding a .java file to a MonoDroid project, using the AndroidJavaSource build type. If the .java file has errors, this will always trigger the "undying error" behaviour. New errors on subsequent builds are added to the bottom of the error list, with old errors not removed...
.. i.e. if your .java source has one error, the error counter will increment by one every time you build the package.
Note that the java sources are not processed in a standard "build", but rather only when producing the .apk.
Looks like a dup of bug 2579?
Yeah, that seems to be the same issue, I'd mark that one as a dupe of this one as this has a lot more useful info, wouldn't be surprised if there's one or two others that are similar.
*** Bug 2579 has been marked as a duplicate of this bug. ***
The M4A addin is adding packaging errors directly to the error pad, it might be a bug in clearing those.
Yes, given Richard's repro steps, I think you are correct.
I've tried to reproduce and haven't been able to and given it's age and lack of further comments I'm going to assume that it was fixed in the 4 years since,