Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3301072
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:43:04+00:00 2026-05-17T20:43:04+00:00

so I implemented a really simple plugin system. i have the following Assemblies: MainApp

  • 0

so I implemented a really simple plugin system.

i have the following Assemblies:

MainApp
IPlugin
PluginApp

Both MainApp and PluginApp conatin a reference to the IPlugin. Now, in MainApp I scan a plugins folder and search for things that implement the IPlugin interface.

However, it is not working because both MainApp and PluginApp reference their own copy of IPlugin.dll so they are not recognized as a match when using Type.IsAssignableFrom()!

help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:43:05+00:00Added an answer on May 17, 2026 at 8:43 pm

    You could try putting your code that defines the plugin into a satellite dll assembly. That way both your main code and the plugins reference the same types.


    If the plugin can maintain it’s own dll instead of using the same dll as the application you will run into versioning issues. How will your main app handle calling plugins that don’t implement the same interface?

    When we did this in our own software we had to resort to reflection method calls instead of casting to the interface. It wasn’t elegant.


    What about adding the assemblies dll into the plugin directory. They have to reference the dll when they create their application, but force them to use the main assemblies version of the dll when the plugin is actually run?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really like the way gmail has the archive system implemented. I can archive
I have a really simple J2SE app that consists of a couple of classes.
I have a really simple e-commerce in my website. It's just a shopping cart,
In my iOS application I have a really simple predicate for my fetch controller.
This probably sounds really stupid but I have noo idea how to implement jquery's
We're trying to determine how to implement a simple plugin framework for a service
what's the recoomended approach in C# when one wants to implement a simple plugin
I'm using ASP.NET webforms and lots of javascript/jQuery. I'm looking for a really simple
Suppose I am building a very simple eclipse plugin for creating new java projects.
A rather simple question really. I'm working on a project where I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.