how do use a class from another project?

F

Flip

I am developing a thick client and a web client for a piece of functionality
for my website. The main class lives in a thick client app and has ongoing
development done to it. I would like to use that class in my web app. How
can I do it? I would like to be able to reference the project in case I
want to debug into the class, and also be able to deploy the release version
when I copy/deploy to the server.

Is this possible?

Thanks.
 
P

Peter Rilling

If you want to be able to debug, you may need to include the source code in
your project. Maybe make a copy of the app's code and add it to your
solution as a new project.

Also, when you said "lives in a thick client app", do you mean the class is
in the EXE project, or a DLL. You can only reference projects that are
DLLs.
 
F

Flip

Thank you Peter for the info. Do you happen to have any links so I can go
off and experiment with this offline?

Thanks.
 
F

Flip

in the EXE project, or a DLL. You can only reference projects that are
So would the easier solution be to create one additional project with just
that class (and dependent/included ones) and reference that compiled DLL in
the othe two projects?

I'm assuming I'm not the first one to do this?! :> haha 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

Members online

No members online now.

Forum statistics

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

Latest Threads

Top