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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:56:59+00:00 2026-05-11T05:56:59+00:00

When should you install into the GAC and when should you not? (I am

  • 0

When should you install into the GAC and when should you not? (I am referring, really, to installing on a client’s machine when they have purchased our product(s)).

  1. I have an assembly that is only going to be used with my one application (GAC or no-GAC)?

  2. I have an assembly that all my applications share (GAC or no-GAC)?

  3. All my applications may use different versions of my assembly (GAC or no-GAC)?

These are three scenarios… but I am sure there are more. I’m not necessarily looking an answer to only these three questions.

Similar question: What are the advantages and disadvantages of using the GAC?

  • 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. 2026-05-11T05:57:00+00:00Added an answer on May 11, 2026 at 5:57 am

    General MS guidelines

    1. no
    2. no
    3. no

    GAC is really a repository for Microsoft common .NET libraries. Yes, they let developers use it too, but as a rule of thumb, if you don’t need GAC, don’t use it. keep things simple and local if it doesn’t hurt.

    • I would consider GAC only for performance reasons, for example if you have some huge assemblies, try to place them into GAC and NGEN them. It should significantly increase performance. Microsoft does it for all standard .NET framework assemblies during installation (now you know why that installation takes so long). Paint.NET does it as well (to improve startup time of their app). However most of us don’t work on huge frameworks or photoshop competitors, so most of the time, performance gains from having assembly in GAC are minimal. Not worth giving up simple x-copy deployment.

    • Some developers might use GAC to make sure that users with insufficient privileges can’t delete or modify their assemblies.

    • For others it might be for versioning reasons but here you should really reconsider. I’m not going to repeat what has been already said, you can read here why.

    And don’t forget that once you want to deploy into GAC, your installer will need administrator privileges, you can pretty much forget click-once deployment, etc…

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

Sidebar

Ask A Question

Stats

  • Questions 242k
  • Answers 242k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This line mpz_t *p = malloc(5*sizeof(mpz_t*)); is likely the cause… May 13, 2026 at 7:35 am
  • Editorial Team
    Editorial Team added an answer I personally use INT IDENTITY for most of my primary… May 13, 2026 at 7:35 am
  • Editorial Team
    Editorial Team added an answer This is basically the same question as How to scale… May 13, 2026 at 7:35 am

Related Questions

I've ran into problems installing the LGPL version of the Qt SOAP component: http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/
At the company I work for, I have created a Error Logging class to
I have an Oracle server (version 9, I believe) and a MS SQL server
I have a couple of projects with different release cycles sitting in my SVN

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.