diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index d7762ca1bc6..6b3c8b0196c 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -73,6 +73,7 @@
PGInstrument
PGUpdate
advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies)
+ /OPT:REF,NOICF %(AdditionalOptions)
true