I have a .NET WinForm application. I want when my application run, it will detect a DLL. If this DLL exists, my app will load and use it like a built-in DLL.
Please help me some examples. Thanks.
Read up on MEF - Microsoft Extensibility Framework, in the System.ComponentModel.Composition namespace. Part of the core .NET 4.0 functionality.
You can also use the Microsoft Add-In Framework (MAF) using System.Addin Namespace.
Read more on http://msdn.microsoft.com/en-us/library/bb384200.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With