Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GAC - Internet apps

Status
Not open for further replies.

SharkTooth

Programmer
Aug 12, 2004
29
US
I have a site with a bunch of directories, each is it's own application. I am developing assemblies to use across all sites. Is the GAC the right place for these assemblies. Is there anything I need to know before I use the GAC? (I never used the GAC before.)

Thanks for your help!
 
The GAC would be a good place for your assemblies.

You'll need to sign your assemblies with a strong name. You use the sn.exe to generate a key file, then specify that key file in your build properties.

You should also make sure that in your development environment that you explicitly specify the version of your assembly (in the project properties). Recall that the GAC will store multiple versions of your assembly, and if you leave it like the default is, every time you do a build you get another version added to the GAC (lots and lots of clutter).

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thanks, do you treat components and controls the same way? For instance say I create a new type of TextBox and now I want the developers to add it to the toolbar so they can use it throughout the enterprize. Is there a right place to put these type of controls and components? Is the GAC a good place for them?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top