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

Zsolt Kántor 80 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

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,536 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.