Bug 5996 - Local copied assemblies result in unnecessary rebuilds
Summary: Local copied assemblies result in unnecessary rebuilds
Status: RESOLVED INVALID
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-06 06:31 UTC by Alan McGovern
Modified: 2012-07-06 07:16 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 GitHub or Developer Community 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.

Related Links:
Status:
RESOLVED INVALID

Description Alan McGovern 2012-07-06 06:31:20 UTC
Commit 496d1cc8a98efeeb62ad2fd408f4de2aebf4849e in the monodevelop tree works around an issue whereby local copy references trigger unnecessary rebuilds. The gist of the problem is in the commit message which I've copied here:


Xbuild does not handle local copy correctly which results in unnecessary rebuilds. The bug appears to be that if Foo.dll is considered to not need a rebuild, any references which are specified as 'Local Copy' are copied anyway. The result is that the mtime on those changes which somehow triggers a rebuild for other assemblies/projects depending on Foo.dll.

In this specific case, ICSharpCode.Decompiler was local copying some assemblies which triggered MonoDevelop.Ide to rebuild every time, which in turn triggered every assembly depending on MonoDevelop.Ide to rebuild.
Comment 1 Alan McGovern 2012-07-06 07:16:40 UTC
This was actually triggered by a bug in the monodevelop makefiles which i knew about and committed a fix for right after I reported this.