diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 3465adec65b9..8d24393aa186 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -45,6 +45,7 @@
true
$(EnableControlFlowGuard)
/utf-8 %(AdditionalOptions)
+ true
OnlyExplicitInline