|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Link an object to an AssemblyHi,
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. Yes. If you have the source code for both, I guess the easiest way is>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? to directly compile them to a single executable. If not, there are tools that can merge compiled executables. Google for "ilmerge" or "illink". Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. > Yes. If you have the source code for both, I guess the easiest way is I have the sources for both, but I need the DLL seperatly, too. So I> to directly compile them to a single executable. If not, there are > tools that can merge compiled executables. Google for "ilmerge" or > "illink". 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 Yes, you can include source files from any directory in a project. You>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? could also just create another project in the same directory. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||