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

  • Home
  • SEARCH
  • 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 712645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:52:16+00:00 2026-05-14T04:52:16+00:00

I will try to keep this as simple as possible. I have a rather

  • 0

I will try to keep this as simple as possible. I have a rather simple plugin system that has run into a problem.

I have 2 assemblies:

  • Host.exe
  • Plugin.dll

Plugin.dll references Host.exe (which contains interfaces and classes that Plugin.dll implement and use).

At runtime, Host.exe loads Plugin.dll through reflection and this works great. Except when Host.exe updates and gets a new version number. Then I get an error once I try to load Plugin.dll, saying that Host.exe (with the old version number) can’t be found.

This means I have to rebuild all plugins every time Host.exe changes build number.

Anyone got a solution to this?

  • 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-14T04:52:16+00:00Added an answer on May 14, 2026 at 4:52 am

    There’s a simple solution, don’t change your [AssemblyVersion], only your [AssemblyFileVersion]. To make that meaningful, it is certainly better to move the classes that both the plug-in and the host need to a separate assembly.

    Now, when you make a breaking change in one of those classes, you can change the [AssemblyVersion] to force the plug-in to be recompiled. Which is now a Good Thing instead of a problem.

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

Sidebar

Related Questions

So I have this problem with strings and switch-case, and I'll try to keep
i have a web.config file that looks like this: <?xml version=1.0?> <configuration> <system.web> <compilation
I am working on an algorithm that will try to pick out, given an
I'm fairly new to C# but I will try to make this quick! ;)
This might be a little hard to explain, but I will try. I want
I'm try to develop a regex that will be used in a C# program..
I'll try and keep my sample code very straightforward, but it may have errors
We're developing a server system in Scala + Akka for a game that will
I want to use a temp directory that will be unique to this build.
I am about to try and automate a daily build, which will involve database

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.