Profile-Guided Optimization Error PG0165
PGD files are specific to a particular compiler toolset. This error is generated when you are using a different compiler than the one used for Filename.pgd. This error indicates that this compiler toolset cannot use the data from Filename.pgd to optimize the current program.
To resolve this problem, regenerate Filename.pgd by using the current compiler toolset.