473,473 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

registering .dll and using it in other web pages

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.
Nov 18 '05 #1
6 2209
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

-Rick
Nov 18 '05 #2
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

-Rick
Nov 18 '05 #3

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 ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #4

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 ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5
In article <#Z**************@TK2MSFTNGP12.phx.gbl>, ar******@hotmail.com
says...
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
"al" is the Assembly Linker. You don't need that for this.
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.


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
http://weblogs.asp.net/psteele
Nov 18 '05 #6
In article <#Z**************@TK2MSFTNGP12.phx.gbl>, ar******@hotmail.com
says...
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
"al" is the Assembly Linker. You don't need that for this.
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.


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
http://weblogs.asp.net/psteele
Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kelly G. | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution. Here is the complete issue: I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim...
6
by: Daniel Bass | last post by:
The scenario: ------------- I've created a simple COM object according to a tutorial I found: http://www.csharphelp.com/archives/archive281.html It automatically creates a Type Library...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
1
by: Dave Moore | last post by:
Hi all - I have a problem I've been trying to solve for several days. I'm trying to get the 'hands free' deployment working on a .NET web project that involves both a front end web site (with web...
2
by: Helen | last post by:
I've got some clientside script that runs when the selected index of a select box changes. Now I need to swap my selectbox with an ASP.NET radiobuttonlist (to solve some layout issues). I still...
7
by: Chris Jewell | last post by:
Hi, I'm wondering what the best way of registering a data storage class with a data handler class is. At the moment I have two classes: class EpiCovars // Storage class { ....
1
by: pRony | last post by:
A warm welcome from me to everyone i am facing problems for registering python for using iis i tried out by running pyscript.py but was of no use an error is returned in the web page http/500...
2
by: Marty | last post by:
I have created a web site and defined 3 rolls: Admin, Manager, Employee I would like to add all users to the Employee roll automatically when they register. Anybody have a suggestion or material...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
2
by: souporpower | last post by:
Hi All I am trying to print some HTML using JQUERY. I am posting the code. I don't see the alert. It seems as though the function is not registered when the document is loaded. Can someone...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.