Gen build "HHC.EXE not found in the PATH" - VS 2017 or 2019
search cancel

Gen build "HHC.EXE not found in the PATH" - VS 2017 or 2019


Article ID: 204239


Updated On:


Gen Gen - Workstation Toolset Gen - Host Encyclopedia Gen - Run Time Distributed


Testing the generation of code using the Gen 8.6 Toolset in combination with Visual Studio 2017 (VS2017).
In the Build Tool, an error that the hhc.exe file is not found is being generated:

*** Error: HHC.EXE not found in the PATH. ***


Release : 8.6
Component : Gen Build Tool


The Microsoft Help Compiler (hhc.exe) should get installed with Visual Studio 2017 (VS2017), but there have been reports that it does not and it is not possible to select it on the install menu.


The Help Compiler can be downloaded from the following Microsoft web page: Microsoft HTML Help Downloads

NOTE: The above page contains a link for the download of Htmlhelp.exe which may give a 404 error.
Alternative sources for the download that have been found are:
1. This Microsoft Learn page HTMLHelp Workshop - download for CHM compiler installation failed has an "Accepted answer" with "You can get files from MSDN archives =>" and a link for Download Htmlhelp.exe. That link goes to a Wayback Machine Internet Archive of a Microsoft download page i.e. The htmlhelp.exe file is immediately downloaded.
2. Help+Manual - Microsoft HTML Help Workshop

Once installed, the hhc.exe can be found in this folder, "C:\Program Files (x86)\HTML Help Workshop".

Additional Information

This problem has also been reported when using Visual Studio 2019.