Add Refrenceto a dll without using MS VS.NET

R

Reddy

Hi,

Our server doesn't has a MS VS.NET installed on it. It has the frmaework
installed. I want to add a reference to a dll compiled using VB6 for my
project on this server. Can anyone guide me about how to do it.

Thanks,

Reddy
 
L

Laidbak

Our server doesn't has a MS VS.NET installed on it. It has the framework
installed. I want to add a reference to a dll compiled using VB6 for my
project on this server. Can anyone guide me about how to do it.

AFAIK, all a reference in VS.NET does is set you up for compilation.
In other words, if you were in VS.NET and added a reference to System.Web.dll and System.dll,
the equivalent way to compile on the command line would be

csc /target:library /out:bin/Assembly.dll *.cs /r:System.Web.dll /r:System.dll /debug+

This assumes C#, and you should leave off /debug+ if you are not debugging.
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top