PC Review


Reply
 
 
CSharper
Guest
Posts: n/a
 
      30th Jun 2008
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,
 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      30th Jun 2008
On Jun 30, 5:00*pm, CSharper <cshar...@gmx.com> 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?


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
 
Reply With Quote
 
CSharper
Guest
Posts: n/a
 
      30th Jun 2008
On Jun 30, 11:33*am, "Jon Skeet [C# MVP]" <sk...@pobox.com> wrote:
> On Jun 30, 5:00*pm, CSharper <cshar...@gmx.com> 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?

>
> 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.
 
Reply With Quote
 
Ben Voigt [C++ MVP]
Guest
Posts: n/a
 
      2nd Jul 2008
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,



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 AM.