Is there a way to see the compiled executable size in Visual Studio's build output window?

Zsolt Kántor 40 Reputation points
2023-11-30T12:34:03.46+00:00

While compiling a windows console app I would like to see the generated exe file size in the output window. It is that possible? Maybe a linker setup, or VS setup? There are some verbose output settings, but that also prints a lot of info that I don't need.

Here is my output window Clipboard02

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 43,051 Reputation points
    2023-11-30T13:49:20.2666667+00:00

    Quick and dirty method with a Post-Build event -

    dirsize

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful