Ok, I want loading any
as DLL on a
project as host by selecting them in runtime.
I tried this article SelfContainedAssembly
] and I converted it to a WPF project that you can see MyProject
], also test it with StackPanel and etc succesfully, but I want develope a WPF UserControl project like this
<usercontrol x:class="ManyWpfControlLibrary.UserControl1" xmlns:x="#unknown">
public partial class UserControl1 : UserControl
This UserControl compiled to a DLL file, finally it would insert into my MainWindow project at runtime, but I couldn't to do this.
In fact, we haven't aware about the DLL (UserControl compiled), it created and developed offline by another persons and there is on a different assembly, only we load and insert it on the main project at runtime!
Help me about this method or another idea. If the issue is ambiguous and you got the idea, please you edit this post to more understanding.
Thanks in advance.