error D8016: '/ZI' and '/clr' command-line options are incompatible
In visual studio to turn off /ZI
:
- Open the project's Property Pages dialog box.
- Click the C/C++ folder.
- Click the General property page.
- Modify the Debug Information Format property - set it to "None"
Upgrading VS will help. Minimum version: 16.11.11