VS19: Error opening compiled module file

I installed HDF5 1.14.1 from a precompiled binary using all default settings. I opened my existing fortran project in Visual Studio 2019 and added “use HDF5” to a module. I tried following the directions for project configuration, and also referred to an older thread. I have set All Configurations as follows:

Fortran>General>Additional Include Directories = C:\Program Files\HDF_Group\HDF5\1.14.1\mod\static
Linker>General>Additional Library Directories = C:\Program Files\HDF_Group\HDF5\1.14.1\lib
Linker>Input>Additional Dependencies = libhdf5_fortran.lib libhdf5.lib libz.lib libszaec.lib libaec.lib

I also added to my PATH:

C:\Program Files\HDF_Group\HDF5\1.14.1\bin

When I try to build the Release x64 configuration, the error I see is:

error #7002: Error in opening the compiled module file. Check INCLUDE paths. [HDF5]

So it seems the compiler can’t find the module. What else do I need to do to get it working? Thanks