avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday July 18, 2024, 2:43 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Question about console programming in C#  (Read 2577 times)


  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Question about console programming in C#
« on: September 11, 2018, 05: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.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: Question about console programming in C#
« Reply #1 on: September 12, 2018, 06: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.