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

The Archive Base Latest Questions

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

This one goes round and round I know but I can’t seem to find

  • 0

This one goes round and round I know but I can’t seem to find a satisfactory response.

Should assemblies go in the GAC? These questions: when-and-when-not-to-install-into-the-gac and What are the advantages and disadvantages of using the GAC, address exactly that but the answers are very much “it is recommended that…” or “you should only …”. Why???

A lot of the GAC naysaying blogs seem to date from 5/6 years ago when .Net’s star was beginning it’s rise. Are we still there now? Surely DLL-Hell is a thing of the past with the GAC supporting side by side installation of different versions of the “same” assembly?

Let me flesh-out my concerns. We have a growing suite of web apps (5 so far). These are, at their core, extensions to a third-party application via API calls and database extensions. Obviously, therefore, all these apps share a great deal of code in common and we are developing a new set of core shared libraries to improve our quality, maintainability, etc.

Surely I want this shared functionality installed once and shared. All the arguments about opening a maintenance nightmare seem based on some world of poor discipline. If you break the ABI then bumping the AssemblyVersion is sufficient to keep your existing apps working.

Is the GAC truly a honey trap for the unsuspecting? Am I being naive? Am I being unnecessarily harsh when I dismiss arguments citing the loss of ‘XCopy’ install as being lazy whinges? Or is it getting a bit “Religious” and I should just go with what seems right?

Thanks for helping me see the light.

Dan

  • 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-13T23:25:10+00:00Added an answer on May 13, 2026 at 11:25 pm

    I personally have never installed any assemblies directly in the GAC (except as a purely academic exercise). I’ve heard the argument before about using an assembly from a centralized location that is accessed from several applications, and while that seems somewhat attractive, personally, it’s not worth my time. Computers come with 320GB of hard disk space these days… my measly 160K assembly isn’t going to make a dent in that, even if it’s copied 5 times. (Of course, some could argue the “problem of the commons”… you know: “if every developer thought that way….”, but I digress). The main reason I choose not to do this is because one particular application might rely on the assembly in one way, while another might rely on it another way. While in an ideal world, updates to this assembly should never affect the applications that rely on it, in reality, it often does. If I’m fixing a problem with an assembly because a particular application has issues with it, I’m unwittingly affecting the other applications that rely on that particular assembly. On the other hand, some might argue that this kind of situation makes us better programmers and makes our GAC-Shared assembly more bulletproof. That’s great, but my job as a programmer isn’t primarily to make myself a better programmer, but to write programs that work, and doing so, I will become a better programmer.

    So what’s my vote? Keep away from the GAC. Let each application rely on the version of the assembly they’re built to rely on. A bug exposed in that assembly by one application may never show up in the other applications, because they’re using the assembly differently, so leave them be and you won’t have to regression test 5 distinct applications every time your shared DLL gets patched.

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

Sidebar

Related Questions

OK here goes, This one i find complicated to explain, but I have attached
I hardly even know how to ask this one, but here goes. I have
Can't seem to figure this one out. This one goes top-right. I need it
Can some one please explain why this loop never 'breaks' and goes on forever
This is probably a simple one to answer, but I'm stuck, so here goes.
I have often pondered this one... its probably an idiot question but here goes.
Bit of a n00b question this one, I guess, but here goes. As part
When this one runs everything goes fine: (r^newobject$, views.myobjects.newobject), All the CSS + JS
This one is driving me insane, and i can't figure out why it's throwing
I hope that this one is not going to be ask-and-answer question... here goes:

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.