Bug 17033 - 4.10.2+: UI controls referenced from external assemblies build but don't work at runtime without any message
Summary: 4.10.2+: UI controls referenced from external assemblies build but don't work...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 4.10.2
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-01-03 05:50 UTC by softlion
Modified: 2016-11-22 11:55 UTC (History)
2 users (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 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.

Related Links:
Status:
RESOLVED FIXED

Description softlion 2014-01-03 05:50:36 UTC
Hi,
in an Android 4.1 project, i created some controls derived from View.
They work perfectly in debug/release mode.

I wanted to reuse these controls: i created an Android lib project, move the files to the project (without changing the namespace), change the project target to 4.1, and reference the lib inside the main project.

After these operations, the project builds ok, runs ok, but the custom controls are not displayed, and there are NO error in the Android log ?!!

I undone all changes, recreated a new lib, run the project. Same problem.
Comment 1 softlion 2014-01-03 06:05:44 UTC
I moved all files back into the main project. It works ok.

...
Comment 2 Jonathan Pryor 2014-01-03 10:28:28 UTC
Please provide a repro.
Comment 3 softlion 2016-11-22 11:55:36 UTC
as of current version