Bug 325200 (MONO82533) - Build resources only if needed
Summary: Build resources only if needed
Status: RESOLVED FIXED
Alias: MONO82533
Product: MonoDevelop
Classification: Mono
Component: general (show other bugs)
Version: 0.15
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: 2.0 Beta 1
Assignee: Jain Ankit
QA Contact: MD Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2007-08-22 22:10 UTC by Ian Walker
Modified: 2009-01-27 00:16 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:49:45 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".

Comment 1 Lluis Sanchez 2008-10-22 12:02:00 UTC
Can you provide a project which can be used to reproduce the problem? thanks.
Comment 2 Ian Walker 2008-11-20 00:44:04 UTC
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.
Comment 3 Jain Ankit 2009-01-27 00:16:03 UTC
Fixed in svn r124609.