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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:25:56+00:00 2026-05-18T23:25:56+00:00

So basically we have an strong-names (strongly signed) assembly x.dll which is used by

  • 0



So basically we have an strong-names (strongly signed) assembly x.dll which is used by one of our components, App.exe. The signing key of the assembly is in our repository and it the assembly is signed by means of writing

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFileAttribute(@"..\..\xxx.snk")]
[assembly: AssemblyKeyName("")]

The assembly is supposed to be put in GAC by some installer which installs common packages, let’s name it common.msi. But our component itself is installed by App.msi. When deployed together, everything works. But when changes are made to App.msi, ones that have ABSOLUTELY nothing to do with x.dll, and App.msi is redeployed, App.exe fails to find x.dll. Note that no changs are made to x.dll. When, however, common.msi is deployed as well, everything works. So I am guessing there must be an issue with build versions or something, or manifests which I know nothing about. Is there something obvious that I am doing wrong? Isn’t it possible to just deploy the assembly separately and not touch it unless it is changed and not redeploy it every time a component that uses it is changed? Thanks.

Edit: It is a requirement (one I can’t do anything about) that the ssembly be put in GAC

  • 1 1 Answer
  • 3 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-18T23:25:57+00:00Added an answer on May 18, 2026 at 11:25 pm

    Why are you installing it into the GAC? Don’t do that.

    The title of your question “Assembly needs to be redeployed into GAC” is just wrong.
    Nothing you’ve written implies that the assembly needs to be in the GAC.


    EDIT – some additional information.

    If you want to examine dependencies, you can use Redgate’s Reflector to examine an assembly, like your App.exe, to determine which other assemblies it depends on and requires. These dependencies will include version numbers.

    I don’t know of a tool from the commandline that will just emit assembly information. Maybe there is one. Lacking this, I wrote a tool to do it, like this:

        public static void Main(string[] args)
        {
            if ((((args == null) || (args.Length != 1)) || (args[0] == "-?")) || (args[0] == "-h"))
            {
                Usage();
            }
            else
            {
                try
                {
                    Console.WriteLine(Assembly.LoadFrom(args[0]).FullName.ToString());
                }
                catch (Exception exception)
                {
                    Console.WriteLine("Exception: {0}", exception.ToString());
                    Usage();
                }
            }
        }
    

    You could run this tool on App.exe as well as x.dll to determine the exact strong name, including version numbers, embedded into each assembly.

    This might help give you some insight into why things aren’t working as you expect.

    Even if one version of x.dll is in the GAC, there’s no need for an arbitrary app, like App.exe, to use that version of the DLL. The app can install in the local directory its own version of the dll.

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

Sidebar

Related Questions

I have an Entity which is basically one Datamodel. That Model has several Columns
I have a string which is basically a list of words delimited by commas.
I basically have a page which shows a processing screen which has been flushed
I have the following code, basically it is performing two operations. First one being
I have the following models which basically refer to Lessons and Categories. Each lesson
Basically I have this application which scans through all mp3's in a folder and
Basically, I have a Container class called Employees which has in it an ArrayList.
Basically I have this string for example $str = 'По, своей 12' I need
Basically I have this string $str=word1 word2 word3; I need array( 'word1', 'word2', 'word3'
I basically have the following string in the format: A,B,C:D,E,F What I am trying

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.