Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Console application no more console after ILMerged

Tags:

c#

ilmerge

I am using ILMerge to merge the used libraries for a console application. After its merged, the resulting exe just finishes execution in a second and runs in the background(does not show its output for Console.WriteLine).
What Can i do to actually run it as a console application ?

like image 212
Akshay J Avatar asked Nov 20 '12 03:11

Akshay J


1 Answers

Run ILMerge with the command line option /target:exe

like image 79
Mike Zboray Avatar answered Oct 17 '22 00:10

Mike Zboray