protected override void UpdateAssemblies(HashSet <Assembly> assemblies) { base.UpdateAssemblies(assemblies); TryLoadAssemblyByType("AttachedMembers", "MugenMvvmToolkit.Xamarin.Forms.Binding", assemblies); if (IsDesignMode) { TryLoadAssemblyByType("PlatformBootstrapperService", "MugenMvvmToolkit.Xamarin.Forms.Android", assemblies); TryLoadAssemblyByType("PlatformBootstrapperService", "MugenMvvmToolkit.Xamarin.Forms.iOS", assemblies); TryLoadAssemblyByType("PlatformBootstrapperService", "MugenMvvmToolkit.Xamarin.Forms.UWP", assemblies); TryLoadAssemblyByType("PlatformBootstrapperService", "MugenMvvmToolkit.Xamarin.Forms.WinPhone", assemblies); TryLoadAssemblyByType("PlatformBootstrapperService", "MugenMvvmToolkit.Xamarin.Forms.WinRT", assemblies); TryLoadAssemblyByType("MugenMvvmToolkit.Xamarin.Forms.WinRT.PlatformBootstrapperService, MugenMvvmToolkit.Xamarin.Forms.WinRT.Phone", assemblies); } if (Application.Current != null) { assemblies.Add(Application.Current.GetType().GetAssembly()); } if (_platformService != null) { assemblies.Add(_platformService.GetType().GetAssembly()); assemblies.AddRange(_platformService.GetAssemblies().Where(x => !x.IsDynamic)); } }