Linker Tools Error LNK1269
inconsistent file 'file' specified with /LTCG:PGOPTIMIZE but not with /LTCG:PGINSTRUMENT
The same files passed to the linker when specifying /LTCG:PGINSTRUMENT must also be passed when specifying /LTCG:PGOPTIMIZE.
To resolve this error, remove the obj file from the /LTCG:PGOPTIMIZE link line.
If file is needed to build the image and if you do not have time to build an instrumented image (/LTCG:PGINSTRUMENT) and rerun the test scenarios, you can resolve this error by using /LTCG:PGUPDATE instead of /LTCG:PGOPTIMIZE.