Bug 39449 - UWP: Dependency attribute in 3rd party assemblies
Summary: UWP: Dependency attribute in 3rd party assemblies
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.1.0
Hardware: PC Windows
: Normal critical
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-03-08 14:12 UTC by Dominik Weber
Modified: 2016-04-26 16:58 UTC (History)
4 users (show)

Tags: ac
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:

Description Dominik Weber 2016-03-08 14:12:52 UTC

when using .NET native compilation (in release build) Dependency attributes are only recognized in the main assembly. This makes it impossible to include 3rd party libraries which depend on the Xamarin Forms dependency service.
One solution would be to use the rendererAssemblies parameter passed into Forms.Init() to also search for dependency services.

I have created a form post regarding this issue here: http://forums.xamarin.com/discussion/59998/uwp-service-assemblies
Comment 1 Jason Smith [MSFT] 2016-03-13 11:23:25 UTC
Should be fixed in 2.2.0-pre1
Comment 2 Parmendra Kumar 2016-04-26 16:44:22 UTC
To verify this issue I have tried to reproduce this issue but not able to reproduce this issue.

Could you please provide us sample project so that I can verify this issue efficiently. 

Comment 3 Dominik Weber 2016-04-26 16:58:58 UTC
I have just tested this with 2.2.0-pre4, works fine.