Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 874 Bytes

fatal-error-c1305.md

File metadata and controls

15 lines (12 loc) · 874 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Fatal Error C1305
Fatal Error C1305
11/04/2016
C1305
C1305
1629c850-e2db-4678-83d8-9bfc85323bc5

Fatal Error C1305

profile database 'pgd_file' is for a different architecture

A .pgd file that was generated from the /LTCG:PGINSTRUMENT operation for another platform was passed to /LTCG:PGOPTIMIZE . Profile-guided optimizations are available for x86 and x64 platforms. However, a .pgd file generated with a /LTCG:PGINSTRUMENT operation for one platform is not valid as input to a /LTCG:PGOPTIMIZE for a different platform.

To resolve this error, only pass a .pgd file that is created with /LTCG:PGINSTRUMENT to /LTCG:PGOPTIMIZE on the same platform.