Dll Usage In Vb.Net ?

  • Thread starter Thread starter Jm
  • Start date Start date
J

Jm

Hi All

I have a quick question about using references in vb.net. I\ve made a class
library which basically holds a server name, ip address and authentication
info which im using inside a program. I have given the dll file a strong
name key and imported it into the assembly cache on my machines. The issue i
have is that when i run on it on any machine but the machine im developing
it throws an exception at startup. It seems its looking for the original
path of where the dll was referenced. Im assuming that i should be adding
the reference in another way so it would work on any machine as long as it
has the dll in the assembly cache ? Am i thinking along the right lines ?
Any help is greatly appreciated

Thanks
 
Jan. 18, 2005

I would guess that you referenced it before you installed it in the
GAC? Assuming that this is the case then you need to remove the reference,
and this time instead of clicking on the Browse button, add it from the .Net
tab. The .Net tab is where the assemblies show when they are in the GAC. Then
make sure that you added it to the GAC folder of your deployment project. I
hope this helps and have a great day! :)


Joseph MCAD
 
Hi Joseph

I tried what you said but the dll doesnt show up in the .net list ? I add it
to assembly cache via the configuration mmc, am i going about that part the
wrong way ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top