tags:

views:

179

answers:

2

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

Hi Guys,
I would like to hear your opinion regarding the benefits of disadvantages of using the GAC in .Net applications. To me, it looks more professional to sign & register the application dlls in the GAC. It's more secure, helps with backward compatibility, side by side installations and easy to reference for end-users. But I want to hear the other side as well.

Thank you very much,
Adi Barda

+1  A: 

It's a great idea to use the GAC for your shared assemblies but be sure to understand some of the potential drawbacks. It can also introduce extra complexity to development and deployment.

Take a look at this previous question for potential drawbacks: http://stackoverflow.com/questions/538710/why-should-i-not-use-the-gac

David Neale
+1  A: 

You'd already listed advantages, the main disadvantage to using the GAC in my view is that it gets slightly more complicated to install, you can't just copy the files in and run, and same when you want to uninstall you can't just delete one directory.

I'm assuming that it's for an assembly that will just be used by your own apps, so you don't have to worry about other peoples apps linking to it.

ho1