Groups | Blog | Home
all groups > asp.net > april 2004 >

asp.net : registering .dll and using it in other web pages


Rick
4/7/2004 2:36:04 PM
Have you added it as a reference to the project in which you are trying to do the "Imports Type" in? Even though it's in the GAC, you still need to reference GAC items in your project. You just won't copy them locally to the application's bin directory

Arvind P Rangan
4/7/2004 8:25:54 PM
hi,
I have compiled a .dll.
steps followed is try to upload the dll to global assembly
method 1: al /i:temp.dll
but this gives an error
method 2: gacutil /i temp.dll - this uploads dll to global assembly.

Next how can i use it.
if i type imports temp it gives error
its not shown in the references list also.

How shall i go about it.

Thanks
Arvind.

Arvind
4/7/2004 11:07:55 PM

I am trying to reference it but its not getting displayed in the list.

Even if its added to GAC how to get the .dll displayed in the reference
list.

Can anyone tell me about the procedures.

Thanks
Arvind.


*** Sent via Developersdex http://www.developersdex.com ***
Patrick Steele [MVP]
4/9/2004 12:58:20 PM
In article <#ZSlHCLHEHA.1432@TK2MSFTNGP12.phx.gbl>, arvind99@hotmail.com
says...
[quoted text, click to view]

"al" is the Assembly Linker. You don't need that for this.

[quoted text, click to view]

The list of assemblies displayed by VS.NET is not dynamically generated,
but maintained in a list somewhere (there's a KB article about getting
your assembly listed in GAC).

However, just add a reference to a local copy of "temp.dll". Even
though you're referencing a local copy, .NET will use the copy from the
GAC when running.

--
Patrick Steele
Microsoft .NET MVP
AddThis Social Bookmark Button