.Net / C # - Pros and Cons of Using the GAC

Possible duplicate:
What are the advantages and disadvantages of using a GAC?

Hi guys,
I would like to hear your opinion on the advantages of the disadvantages of using GAC in .Net applications. It is more professional for me to sign and register application DLLs in the GAC. It is more secure, helps with backward compatibility, side-by-side installation and easily links to end users. But I want to hear the other side.

Many thanks,
Adi barda

+4
source share
2 answers

It's a great idea to use the GAC for your common builds , but be sure to understand some of the potential flaws. It can also create additional complexity for development and deployment.

Take a look at this previous question about potential flaws: Why shouldn't I use the GAC?

+2
source

You have already pointed out the advantages, the main disadvantage of using the GAC, in my opinion, is that it becomes a little more difficult to install, you cannot just copy files and run them, and when you want to delete you cannot just delete one directory.

I guess this is for an assembly that will only be used by your own applications, so you don’t have to worry about how other people's applications refer to it.

+2
source

Source: https://habr.com/ru/post/1310089/


All Articles