By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

csc or al

P: n/a
Quick question, I have an application that has 3 dependent dlls they
are my c# project that were build outside my main project as they are
shared in multiple other projects. I compiled the app using csc and
got my exe created. Then I used ILMerge to merge all the dependent
dlls along with the main exe I created with csc and generated one
single output exe.
My question is, will it be possible to achive the result using csc or
al.exe?

Thanks,
Jun 30 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Jun 30, 5:00*pm, CSharper <cshar...@gmx.comwrote:
Quick question, I have an application that has 3 dependent dlls they
are my c# project that were build outside my main project as they are
shared in multiple other projects. I compiled the app using csc and
got my exe created. Then I used ILMerge to merge all the dependent
dlls along with the main exe I created with csc and generated one
single output exe.
My question is, will it be possible to achive the result using csc or
al.exe?
Not that I'm aware of. That's precisely why ilmerge was created -
although frankly I think it's almost always better just to live with
having multiple assemblies.

Jon
Jun 30 '08 #2

P: n/a
On Jun 30, 11:33*am, "Jon Skeet [C# MVP]" <sk...@pobox.comwrote:
On Jun 30, 5:00*pm, CSharper <cshar...@gmx.comwrote:
Quick question, I have an application that has 3 dependent dlls they
are my c# project that were build outside my main project as they are
shared in multiple other projects. I compiled the app using csc and
got my exe created. Then I used ILMerge to merge all the dependent
dlls along with the main exe I created with csc and generated one
single output exe.
My question is, will it be possible to achive the result using csc or
al.exe?

Not that I'm aware of. That's precisely why ilmerge was created -
although frankly I think it's almost always better just to live with
having multiple assemblies.

Jon
Thanks and I think I found another one, iexpress (win XP tool), this
has command line options to create self extracting exe and then launch
the primary application. If that one works, I will be fine with that
as well.
Jun 30 '08 #3

P: n/a
CSharper wrote:
Quick question, I have an application that has 3 dependent dlls they
are my c# project that were build outside my main project as they are
shared in multiple other projects. I compiled the app using csc and
got my exe created. Then I used ILMerge to merge all the dependent
dlls along with the main exe I created with csc and generated one
single output exe.
My question is, will it be possible to achive the result using csc or
al.exe?
I think you can generate .netmodule files for each project instead of .dll
files, then al.exe would link them together. But I think you might end up
with one assembly in multiple files, instead of multiple assemblies in one
file.
>
Thanks,

Jul 2 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.