| re: How to disable DOS window from appearing when executing exe created using CodeDom??
Excellent!! Thanks Justin. Setting the compiler option "/target:winexe" did
the trick!!
;-)
/Roland
"Justin Rogers" <Justin@games4dotnet.com> wrote in message
news:#P77zOfbDHA.2940@TK2MSFTNGP11.phx.gbl...[color=blue]
> You might want to use, CompilerParameters.CompilerOptions, since in all
> honest the CodeDOM was built to dynamically generate library assemblies,[/color]
it[color=blue]
> was probably a short-sight not to put in options for exe versus winexe.[/color]
It[color=blue]
> might also be that many compilers won't support an option for compiling
> different types of executables and so they don't even put the option in
> there.
>
> You should be able to do a /target:winexe (which should work for CSharp,[/color]
VB[color=blue]
> and JScript). You may run into some problems battling with switches set[/color]
by[color=blue]
> the GenerateExecutable property, but I'd hope not.
>
> --
> Justin Rogers
> DigiTec Web Consultants, LLC.
>
>
> "new1s.on.sympatico.ca" <roland.macpherson@sympatico.ca> wrote in message
> news:W_A3b.13169$Cg2.1179821@news20.bellglobal.com ...[color=green]
> > Hey There!
> >
> > Any one have any ideas on how to prevent the DOS window from appearing[/color]
> when[color=green]
> > executing an Output Assembly (exe) generated using CodeDom?
> >
> > Thanks,
> > Roland
> >
> >[/color]
>
>[/color] |