Still trying to understand the GAC and SN better. In order for something to be in the GAC it has to be SN; Ive learned how to do SN - pretty simple (at this point). I know the purpose of the GAC is not to have to have a billion copies of the same dll on a targeted machine.
Besides this what are some of the advantages to the GAC? I dont know of any, but Im sure there are some.
Is there ever a reason to SN an assembly and not put it in the GAC?
Ive learned how to deploy something into the GAC (and I really think its stupid that if you deploy to the GAC you also have to deploy to the Visual Studio folder so it shows up in in the Add References dialog - if its the GAC, I think it should be there!), but Ive encountered some things in VS2005 that yell at me that I cant use something because its not registered... how are they checking this? Is there a namespace that allows you load things from the GAC without having a reference to it in your references? How come I cant add the assembly manaully (CopyLocal = true rather than false) and get around this error?
Im also trying to find some information (written in laymans terms - MSDN wasnt very helpful on this one) about when you Configure and Assembly of the GAC...specifically what is the Binding Policy and Code Base tabs used for (in a real world example).
Ive recently gotton thrown into the Configuration Management position on my team and Im learning a lot by fire; things are slowing down so Im trying to get on top of the ball. I recently deployed a library and strongly named it and the msi puts it in the GAC. So now I need to learn how to update it for when a fix is needed for some obscure bug is found (because they always have a way of coming out).
Thanks in advance for comments/links.
Besides this what are some of the advantages to the GAC? I dont know of any, but Im sure there are some.
Is there ever a reason to SN an assembly and not put it in the GAC?
Ive learned how to deploy something into the GAC (and I really think its stupid that if you deploy to the GAC you also have to deploy to the Visual Studio folder so it shows up in in the Add References dialog - if its the GAC, I think it should be there!), but Ive encountered some things in VS2005 that yell at me that I cant use something because its not registered... how are they checking this? Is there a namespace that allows you load things from the GAC without having a reference to it in your references? How come I cant add the assembly manaully (CopyLocal = true rather than false) and get around this error?
Im also trying to find some information (written in laymans terms - MSDN wasnt very helpful on this one) about when you Configure and Assembly of the GAC...specifically what is the Binding Policy and Code Base tabs used for (in a real world example).
Ive recently gotton thrown into the Configuration Management position on my team and Im learning a lot by fire; things are slowing down so Im trying to get on top of the ball. I recently deployed a library and strongly named it and the msi puts it in the GAC. So now I need to learn how to update it for when a fix is needed for some obscure bug is found (because they always have a way of coming out).
Thanks in advance for comments/links.