You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
is it possible to publish and then load Uno Platform Library dynamically using AssemblyLoadContext?
I am trying to do that, but publish option is not enabled on Uno Platform Library projects and when I tried loading the debug version of the dll, the assembly gets loaded, however, when I try to get types from the assembly (Calling Assembly.GetTypes()), I face this exception if the assembly uses anything from Microsoft.UI.Xaml namespace:
Unable to load one or more of the requested types.
Method 'get_TestCommand' in type 'BusinessAssistantPos.Maxima.PluginBuilder' from assembly 'BusinessAssistantPos.Maxima, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
in this case the TestCommand is a property of XamlUICommand type.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
is it possible to publish and then load Uno Platform Library dynamically using
AssemblyLoadContext
?I am trying to do that, but publish option is not enabled on Uno Platform Library projects and when I tried loading the debug version of the dll, the assembly gets loaded, however, when I try to get types from the assembly (Calling
Assembly.GetTypes()
), I face this exception if the assembly uses anything fromMicrosoft.UI.Xaml
namespace:in this case the TestCommand is a property of
XamlUICommand
type.Beta Was this translation helpful? Give feedback.
All reactions