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.
When building an Android project in Visual Studio and then packaging into a signed apk, all files seem to be touched in the process. As a consequence, the last
modified date is updated to all.
I went on to install Eclipse and
built up a sample project to further investigate the packaging process.
1. xml files are indeed touched. They go through a "compilation" process so
it's a new file every time. If we do a file comparison between two versions
however, their content will be the same.
2. images are not touched by Eclipse. Xamarin however is changing the
modified date every time. I can go around this by doing a file comparison
between two versions because like the xml files, their content will be the
3. Xamarin packages include extra files that Eclipse doesn't, which are the
assemblies. They obviously need to be there, however, their contents seem
to be different between versions.
Just a few notes on this. The reason for the assemblies to differ every time is due to the linking process - I had totally forgot about this. In order to reduce the size of the assemblies, the linker strips down everything that is not used, so the resulting assemblies are always different. If I turn off the linker, I manage to get a differential package with only the main assembly and the meta info files. The only issue is that instead of having an APK file with 15mb I now have one with 36mb.
Maybe there's something that can be done to optimize the linking process?
I am closing this issue due to age and user impact.
If you are still encountering this issue, please reopen the ticket with further information regarding why this should be re-looked at. Thanks!