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.
The XS NeedsBuilding check is inconsistent with xbuild. It considers a project to need rebuilding if it's older than a referenced system assembly. However, xbuild will skip the build in this case. (Not sure what msbuild does).
This is a problem when using the xbuild build engine. MD will always consider the project to need building, even after it has been "built" with xbuild.
Our NeedsBuilding check can never be guaranteed to be correct when using xbuild. IMO when building projects using the xbuild engine we should skip the NeedsBuilding check, and simply invoke xbuild and trust it to do the dependency analysis.
Maybe we can keep NeedsBuilding in a limited form for the "you should build this before debugging it" warning.
SetNeedsBuilding is now obsolete, and most of the functionality has been removed. The only piece that uses it is the Gtk# designer. Marking as answered.