I know youve had other responses so if I repeat anything, apologies.
For it not showing up in the .net tab, its not supposed to. Gac added items 
wont show up. Theres actually a registry key that specifies the search path, so 
you will need to browse for your library. It seems like gac items would show up 
there because most items there are in the gac, but thats not the case.

For your gacutil issue, from my projects I use in the post-build event command 
line (WITH quotes!):

"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /i 
"$(TargetPath)"



-----Original Message-----
From: Ragnvald Barth <[EMAIL PROTECTED]>
Sent: Thu, 01 December 2005 10:49:36
To: [email protected]
Subject: [ADVANCED-DOTNET] Gacutil problems

I have a .net 2.0 dll that will be used from several different
applications. So I figured I should put the dll in the gac. I am using
Visual Studio 2005 Team Suite release candidate for this project.
First I typed gacutil /i MyDll.dll in the .net 2005 command prompt. It
worked ok.
Then I added the gacing as a post build step. Because I didnt have the
directory of gacutil in my path I added the post build step like this:
C:Program FilesMicrosoft Visual Studio 8SDKv2.0Bingacutil.exe /i
MyDll.dll
It worked fine too.
Then I added C:Program FilesMicrosoft Visual Studio 8SDKv2.0Bin to my
path, and changed the post build step to:
gacutil /i MyDll.dll
When I tried to build I got the error code 9009.
I have tried to google for gacutil 9009 and found others with the same
problem, but no one has a solution. Is this a gacutil bug or am I doing
something wrong?

Then I went back to using gacutil /i MyDll.dll from the 2005 command
prompt, and manually gaced my dll successfully, because I wanted to use it
from another solution. In the other solution, I went to “add reference...”
on a project, and tried to find my MyDll in the .NET tab. But it is not
there! Why? Where can I find it? What am I doing wrong?

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

-------------------------------------------------
 Sent using http://www.DWmail.net, a free service
 Check your email [any email, anytime, anywhere]
-------------------------------------------------
Disclaimer: DWmail.net is not responsible for the content sent via it's 
services.  Additional header information is included regarding the source of an 
email.  If you believe an email is junk you should look for the 'Originating 
IP' message header

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to