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 7730037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:07:20+00:00 2026-06-01T06:07:20+00:00

Using System.AddIn, is there a way to load and activate an AddIn without locking

  • 0

Using System.AddIn, is there a way to load and activate an AddIn without locking the .dll file? I want to delete or override the file to load a new version of my AddIn.

The only way to unlock the file at this moment is shutting down the AddIn. But I need to keep it always alive for incoming calls (Async-service, yes, a nightmare).

Or maybe there’s another way to update AddIns at runtime, and I’m not doing it right. I’d like to know wich can be the correct way to do this. Thanks!

  • 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-06-01T06:07:21+00:00Added an answer on June 1, 2026 at 6:07 am

    What about the ShadowCopy functionality of the System.AppDomain class?

    I haven’t given it a try yet, but you could try the following:

    1. Create an AppDomainSetup.
    2. In the AppDomainSetup instance set ShadowCopyFiles to true.
    3. In the AppDomainSetup instance set ShadowCopyFilesDirectories to the directory path(s) that contain the assemblies you want to be able to ovewrite at run time. This could simply be the directory where the add-in assembly is located. You should experiment a bit.
    4. In the AppDomainSetup instance set everything else according to your needs.
    5. Use this overload of AppDomain.CreateAppDomain to create the new application domain.
    6. Load the add-in using this overload of AddInToken.LoadAddIn

    You can find more info on shadow copying here.
    Also read this thread at System.AddIn Tools and Samples page at CodePlex.

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

Sidebar

Related Questions

Is there any way to print an OOXML document (.docx file) without having MS
I have a plug-in vector established using System.AddIn that accepts the body of a
I need a flexible way to log keyvalue pairs of arguments using System.Diagnostics.Trace. Basically,
Is there a way to implement a LESS stylesheet in a codeigniter project without
I want to make a simple news system using PHP and MySQL, right now
Is there a way to load a .NET Assembly into a Sandbox environment that
using System.Data; using System.Data.SqlClient; I am using a SqlCommand cmd.Parameters of SqlDbType.DateTime to create
using System; using System.Drawing; using System.IO; using System.Security.Cryptography; using System.Text.RegularExpressions; using System.Windows.Forms; using System.Threading;
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
using System; namespace random { interface IHelper { void HelpMeNow(); } public class Base

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.