HighTechTalks DotNet Forums  

How to use the GAC

Dotnet General Discussions microsoft.public.dotnet.general


Discuss How to use the GAC in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tom S.
 
Posts: n/a

Default How to use the GAC - 08-02-2005 , 03:43 PM






..Net Framework v1.1.4322
VS.Net 2003

I have 3 differnet projects for a web application. The first holds the
logic for my controls. The second holds the controls themselves and has a
reference added to it for the first projects dll. And the third is my web
application that references the dlls for both projects before it. Everything
works fine, but now I'm in a situation where I want to use the first and
second project's dlls for a differnet web app to be located on the same
server. From what I've read, I need to add the first two dlls into the GAC,
but nothing I've read gives me a good description of how to do that. Can
anyone please explain to me how to go about this? Thanks!!!!

Reply With Quote
  #2  
Old   
sze
 
Posts: n/a

Default Re: How to use the GAC - 08-02-2005 , 05:08 PM






You can use gacutil.exe to add your assemblies to the GAC.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfGlobalAssemblyCacheUtilityGacutilexe.asp


Reply With Quote
  #3  
Old   
Naveen
 
Posts: n/a

Default RE: How to use the GAC - 08-03-2005 , 05:44 AM




Hi Tom,

What I would suggest is first deploy both assemblies into GAC....you can do
it in 2 ways....
1. Right click on project whose assembly has to be deployed in GAC and then
click "deploy"
2. Using command line aurguments
gacutil /i AssemblyFileName.dll

Now go to your new project and in solution explorer of project, right click
"Add reference"....

Thats it you are down with it..

any specific questions....do revert

HTH

With Best Regards
Naveen K S

"Tom S." wrote:

Quote:
.Net Framework v1.1.4322
VS.Net 2003

I have 3 differnet projects for a web application. The first holds the
logic for my controls. The second holds the controls themselves and has a
reference added to it for the first projects dll. And the third is my web
application that references the dlls for both projects before it. Everything
works fine, but now I'm in a situation where I want to use the first and
second project's dlls for a differnet web app to be located on the same
server. From what I've read, I need to add the first two dlls into the GAC,
but nothing I've read gives me a good description of how to do that. Can
anyone please explain to me how to go about this? Thanks!!!!

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.