Link an object to an Assembly

  • Thread starter Thread starter Volker Thebrath
  • Start date Start date
V

Volker Thebrath

Hi,
I have a Program(exe) and a API (dll), both in c#, works very fine.
Now I'm looking for a way to link both together. To have only one
file(exe) to copy to the installation directory.

Is this possible?

Best Regards
Volker
 
I have a Program(exe) and a API (dll), both in c#, works very fine.
Now I'm looking for a way to link both together. To have only one
file(exe) to copy to the installation directory.

Is this possible?

Yes. If you have the source code for both, I guess the easiest way is
to directly compile them to a single executable. If not, there are
tools that can merge compiled executables. Google for "ilmerge" or
"illink".


Mattias
 
Yes. If you have the source code for both, I guess the easiest way is
to directly compile them to a single executable. If not, there are
tools that can merge compiled executables. Google for "ilmerge" or
"illink".

I have the sources for both, but I need the DLL seperatly, too. So I
can't create a Project with both sources.
Or is the e possibility to compile code from an external directory
without copy the sourcecodes to the Solution?

Volker
 
I have the sources for both, but I need the DLL seperatly, too. So I
can't create a Project with both sources.
Or is the e possibility to compile code from an external directory
without copy the sourcecodes to the Solution?

Yes, you can include source files from any directory in a project. You
could also just create another project in the same directory.


Mattias
 
Yes, you can include source files from any directory in a project. You
could also just create another project in the same directory.

Thanks, I'll give it a try.

Volker
 

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