Bugzilla – Bug 325200
Build resources only if needed
Last modified: 2009-01-27 00:16:03 UTC
---- Reported by walker_643@yahoo.com 2007-08-22 15:10:43 MST ---- Feature request: recompile resources if and only if they need to be compiled, ie. if they have changed since last build. Thank you :) ---- Additional Comments From jankit@novell.com 2007-08-22 16:43:39 MST ---- Fixed in svn. ---- Additional Comments From walker_643@yahoo.com 2007-08-23 09:25:23 MST ---- It doesn't look like the check for outdated .resources files takes the resources themselves into consideration, just the .resx file. The change that has already been made is the most significant, I think, but would it be worth it to loop through the list of resources as well? An obvious way around this is just to clean and rebuild if you do ever change your resources, so this is not high priority by any means. Cheers :) Unknown version "0.15 in product Mono Develop . Setting version to "0.7".
Can you provide a project which can be used to reproduce the problem? thanks.
This applies to any project which uses resources. To reproduce a simple case, create a project with one resource, say a picture. Build the project. At this point, if you were to add another picture - thereby changing the .resx file - the resources would be rebuilt, too. But, if you were to alter the picture without changing the .resx file, the changes would not be apparent unless you cleaned the project and rebuilt from scratch (forcing a .resx rebuild). My feature request is that MD check the resources themselves (checksum, perhaps) to see if they need recompiled, instead of just checking the list of resources for changes.
Fixed in svn r124609.