473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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 2207
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.