diff --git a/build/targets/codeanalysis/CodeAnalysis.props b/build/targets/codeanalysis/CodeAnalysis.props
index cc3e67ab..550f9e6b 100644
--- a/build/targets/codeanalysis/CodeAnalysis.props
+++ b/build/targets/codeanalysis/CodeAnalysis.props
@@ -5,8 +5,6 @@
preview
9999
true
- true
- true
diff --git a/build/targets/codeanalysis/CodeAnalysis.targets b/build/targets/codeanalysis/CodeAnalysis.targets
index 8c119d54..55b528a4 100644
--- a/build/targets/codeanalysis/CodeAnalysis.targets
+++ b/build/targets/codeanalysis/CodeAnalysis.targets
@@ -1,2 +1,7 @@
+
+ $([MSBuild]::ValueOrDefault('$(ContinuousIntegrationBuild)', 'false'))
+ $(PedanticMode)
+ $(PedanticMode)
+