diff --git a/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.props b/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.props index 56e2faf4..4b575d0e 100644 --- a/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.props +++ b/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.props @@ -2,7 +2,7 @@ - Optimize + true \ No newline at end of file diff --git a/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.targets b/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.targets index b46488dc..33c4be2c 100644 --- a/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.targets +++ b/Tools/PGO/build/native/Microsoft.WindowsCalculator.PGO.targets @@ -1,40 +1,9 @@ - - $(VCToolsInstallDir)bin\Host$(PlatformShortName)\$(PlatformShortName) - $(VCToolsInstallDir)bin\$(PlatformShortName) - $(MSBuildThisFileDirectory)..\..\tools\$(PlatformShortName)\Calculator.pgd + + + $(IlcParameters) /pgu /pgd:"$(MSBuildThisFileDirectory)..\..\tools\$(Platform)\Calculator.pgd" - - - - PGInstrument - $(VC_ReferencesPath_VC_ARM)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_ARM64)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_x86)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_x64)\pgort.lib;%(AdditionalDependencies) - - - - - - - %(Filename)%(Extension) - true - false - false - PreserveNewest - - - - - - - PGUpdate - $(ProfileGuidedDatabaseFileName) - - - \ No newline at end of file diff --git a/src/Calculator/Calculator.csproj b/src/Calculator/Calculator.csproj index 65942a84..601813d1 100644 --- a/src/Calculator/Calculator.csproj +++ b/src/Calculator/Calculator.csproj @@ -36,6 +36,7 @@ $(Platform) 0 /disableStackTraceMetadata /disableExceptionMessages + false