Amir
Amir

Reputation: 820

Add-ons for your C# app

I have a C# program and I want to make it able to load addons. Addons are like that: You pass a control or form to it and it makes some changes to them.

Is there anyway to have dll addons and load them dynamically at runtime and pass controls?? If not Any Idea? What should I do?

Upvotes: 2

Views: 1489

Answers (3)

Mario
Mario

Reputation: 36487

Yes that's possible and it works similar to other programming languages: Load the library and call methods to get names and stuff. One possible solution can be found in this question.

Upvotes: 1

Kyle Trauberman
Kyle Trauberman

Reputation: 25684

Look into MEF to load and import the assemblies and the controls.

Upvotes: 3

Dennis
Dennis

Reputation: 37760

Look at Management Extensibility Framework.

Upvotes: 2

Related Questions