A similar question was asked in English Stack Overflow: vsvars32.bat in Visual Studio 2017 .
In Visual Studio 2017, not only the standard path by which devenv.exe could always be found ( "C: \ Program Files (x86) \ Microsoft Visual Studio% version% \ Common7 \ IDE" ) was changed , but also the path to utilities .
In particular, the path to the editbin.exe utility will be something like this: "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Professional \ VC \ Tools \ MSVC \ 14.14.26428 \ bin \ Hostx86 \ x64 \ editbin.exe " . In this way there are several variables that will differ depending on the version and edition of Visual Studio: 2017 , Professional , and 14.14.26428 . In addition, the Hostx86 and x64 folders can also be replaced with Hostx64 and x86 , respectively.
Thus, the Post-build event command can be like this: $ (DevEnvDir) .... \ vc \ Tools \ MSVC \ 14.14.26428 \ bin \ Hostx86 \ x86 \ editbin.exe "" $ (TargetPath) "/ LARGEADDRESSAWARE
Perhaps there should be special macros or environment variables that allow you to specify the correct path without delving into the value of the variables, but I did not find similar paths among the macros, as well as among the variables that the SET command displays.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\editbin.exethere, it just coincides with what you have written. - VladD