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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:55:25+00:00 2026-05-15T18:55:25+00:00

I am in the process of creating a .NET assembly that will be registered

  • 0

I am in the process of creating a .NET assembly that will be registered for COM so that it can be referenced by Microsoft Excel VBA.

The assembly references a third-party .NET assembly (that contains some useful classes) that is not in the GAC, however, I have a problem with the deployment of my assembly since the path to the third-party assembly is not always in the same location (it depends on the locale of the user as well as how recently the third-party assembly was installed).

This means that when deploying my assembly (using REGASM), depending on the system that it’s being installed on, REGASM will sometimes fall over as it could not find my assembly’s dependency on the third-party assembly.

Ideally I would like use early binding in my assembly, but if I do this and the path to the third-party assembly is not the same as the reference in Visual Studio then REGASM will fail.

I realise that “Copy Local” (in VS) would solve this, but as the third-party assembly is sometimes patched then I don’t really wish to keep an out of date version of it in the same folder as my assembly.

Is there a way around this so that I don’t have to use “Copy Local”? I suppose that I could use some kind of dynamic load of the third-party assembly, but then could still use early binding? (and would REGASM work?)

  • 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-15T18:55:25+00:00Added an answer on May 15, 2026 at 6:55 pm

    Why not use the ‘Copy local’ for first use, and have a routine on the application startup that goes thru a list of possible locations where the newer version might be and override (or schedule an override when not accessible etc.) the local assembly if possible.

    Also, you might want to give the user an option to manually set a location where the dll should be opened from then you always (or on demand) check for newer versions.

    Another aspect is, why would you want to update the new assembly if your application’s functionality depends on a certain version, since if they changed a feauture or what ever they efed up something you’re program will fail because of the update, just a thought.

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

Sidebar

Related Questions

Is there a recommended process for creating reusable ASP.NET assemblies that contain UserControls that
I am creating a custom .net hardware framework that will be used by other
I'm in the process of creating a report in ASP.NET. The business object that
I need to create an out-of-process COM server (.exe) in C# that will be
Suppose that a process is creating a mutex in shared memory and locking it
I'm in the process of creating a class that stores metadata about a particular
I'm in the process of creating a C# application which will monitor changes made
I am in the process of creating a website using ASP.NET MVC. I went
I am creating a .NET program that uses odp.net, specifically the 11g version. Our
I’m in the process of creating a new C# asp.net mvc 3.0 project. The

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.