Reputation: 53313
If I say, 'The existence of a "strong name assignment" ensures that the assembly is stored in GAC' would I be correct in terms of best-practices?
If I rephares it differently: No strong name should be assigned to an assembly in case it won't be shared globally, would it be wrong?
Thanks
Upvotes: 1
Views: 56
Reputation: 839114
To install an assembly in the GAC, you must give the assembly a strong name.
However there are also other reasons to use strong names. Strong names allows you to be sure that you are loading the assembly that you want to load, and that it hasn't been modified. This can be useful whether or not you wish to put the assembly in the GAC.
So, no... having a strong name does not "ensure that the assembly is stored in the GAC".
Upvotes: 2