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
Example is copied from https://github.com/dotnet/samples/tree/main/core/tutorials/Unloading.
The Host project and Plugin project in the example are recreated as WPF application and WPF library respectively.
The PluginClass class is modified as following and the unloading issue is as shown in the code snippet.
public class PluginClass : Interface
{
//......
public string GetMessage()
{
//new UserControl(); -------------->Uncomment this line, unloading success
//new CustomUserControl(); --------------->Uncomment this line, unloading fails
return "Hello from the unloadable plugin";
}
//......
}
public class CustomUserControl : UserControl
{
}
The text was updated successfully, but these errors were encountered:
Example is copied from https://github.com/dotnet/samples/tree/main/core/tutorials/Unloading.
The Host project and Plugin project in the example are recreated as WPF application and WPF library respectively.
The PluginClass class is modified as following and the unloading issue is as shown in the code snippet.
The text was updated successfully, but these errors were encountered: