DLL problem in c# URGENT!!!!!

  • Thread starter Siddhartha Jain
  • Start date
S

Siddhartha Jain

Hi Guys,
I am working on a team project. We have a dll which we want to use in
the project for accessing the functions in that class. I dont know
where to put the dll, its residing on my local machine in a directory
and I added a reference to that dll. Then I checked it in it works
fine for me. I even deployed the application on server, it works but
when my project partener tries to compile the project, it doesnt
recognize the dll. I am using VS.Net and VSS.
Please tell me how should I add that dll and where should I put
it(local machines as well as on server).

Thanks
-Siddhartha.
 
G

Guest

Are you talking about a legacy COM component/DLL? If you have a pre-.NET
..DLL, it should be registered on the system with good ol' regsvr32. When you
are coding in Vis Studio, don't make a reference to the .DLL file, make a
reference to the COM component found in the registry. Then your running .NET
application will work if the target machine also has that .DLL installed
with regsvr32.... Does this address your problem? It's not clear what kind
of .DLL you are talking about...
 
S

Siddhartha Jain

Hi (Unknown)
Its a DLL from Visual Basic but we are using it in C# to access some
functions from it. Could you please tell me a step by step procedure
where to add it and how so that everybody in my team is able to run it
in my team without any error. I am doing this for the first time.
 
S

Siddhartha Jain

Hi,
That worked by registering it and adding as COM component.
Thanks a lot. but I have another question now since you are really smart
:).
I have three projects under one solution and I am referencing two
projects to use them under the third one.
The way I do it is I go add references and then to the projects tab and
add them but everytime I reopen the solution from the VSS and build the
solution it doesnt recognize those dlls. I have to add the references
again each time I open the solution, is there some way I can stop it?
Can I add these projects too as a COM component?

Please let me know.

Thanks a lot again.
-Siddhartha.
 

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

Top