Linker Tools Error LNK1140

too many modules for program database; link with /PDB:NONE

The project contains more than 4096 modules.

To fix by using the following possible solutions

  1. Relink using /PDB:NONE.

  2. Compile some modules without debugging information.

  3. Reduce the number of modules.