DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Question about console programming in C#  (Read 4,545 times)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Question about console programming in C#
« on: September 11, 2018, 10:03 PM »
I've been writing many small console programs via the command-line C# compiler. My question is: is there any particular reason why I shouldn't use the -nowin32manifest switch when compiling? It makes the .exe smaller, but is there a downside for me? Remember these are just handy little programs I use myself or have written to illustrate some concept. Nothing commercial or anything.
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: Question about console programming in C#
« Reply #1 on: September 12, 2018, 11:57 AM »
IIRC when you select console application project from the MSVS IDE it adds that switch automatically, so I shouldn't think it would be an issue. There's really not much point in dragging all the GUI stuff around if it's not needed.

Original address: https://www.donationcoder.com/forum/index.php?topic=46086.0