diff --git a/Directory.Build.props b/Directory.Build.props
index f4f1a228..fcb32aa1 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -6,6 +6,12 @@
MIT
embedded
true
+
+
+ 3.8.0
@@ -24,7 +30,7 @@
to try to match the version loaded by msbuild. In the offline build, this
is simply the source-built version.
-->
- $(MicrosoftCodeAnalysisCSharpVersion)
+ $(MicrosoftCodeAnalysisVersion)
diff --git a/src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/Microsoft.DotNet.UpgradeAssistant.Abstractions.csproj b/src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/Microsoft.DotNet.UpgradeAssistant.Abstractions.csproj
index 45dd2b0d..8f652465 100644
--- a/src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/Microsoft.DotNet.UpgradeAssistant.Abstractions.csproj
+++ b/src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/Microsoft.DotNet.UpgradeAssistant.Abstractions.csproj
@@ -22,7 +22,7 @@
1.1.1
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
5.0.0
@@ -45,6 +45,9 @@
5.0.0
+
+ 5.0.0
+
diff --git a/src/components/Microsoft.DotNet.UpgradeAssistant.MSBuild/Microsoft.DotNet.UpgradeAssistant.MSBuild.csproj b/src/components/Microsoft.DotNet.UpgradeAssistant.MSBuild/Microsoft.DotNet.UpgradeAssistant.MSBuild.csproj
index 2da633c2..fe51bbbf 100644
--- a/src/components/Microsoft.DotNet.UpgradeAssistant.MSBuild/Microsoft.DotNet.UpgradeAssistant.MSBuild.csproj
+++ b/src/components/Microsoft.DotNet.UpgradeAssistant.MSBuild/Microsoft.DotNet.UpgradeAssistant.MSBuild.csproj
@@ -22,13 +22,13 @@
1.4.1
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
5.0.0
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
diff --git a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common.csproj b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common.csproj
index d70bf989..d00ee58a 100644
--- a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common.csproj
+++ b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Common.csproj
@@ -7,16 +7,16 @@
3.3.2
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
diff --git a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.csproj b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.csproj
index 0e6d10f8..f879e500 100644
--- a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.csproj
+++ b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.csproj
@@ -10,10 +10,10 @@
3.3.2
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
diff --git a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes.csproj b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes.csproj
index ca7c5245..ab0e224f 100644
--- a/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes.csproj
+++ b/src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes.csproj
@@ -5,10 +5,10 @@
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
diff --git a/src/extensions/web/Microsoft.DotNet.UpgradeAssistant.Steps.Razor/Microsoft.DotNet.UpgradeAssistant.Steps.Razor.csproj b/src/extensions/web/Microsoft.DotNet.UpgradeAssistant.Steps.Razor/Microsoft.DotNet.UpgradeAssistant.Steps.Razor.csproj
index 2854fe3a..99cf2710 100644
--- a/src/extensions/web/Microsoft.DotNet.UpgradeAssistant.Steps.Razor/Microsoft.DotNet.UpgradeAssistant.Steps.Razor.csproj
+++ b/src/extensions/web/Microsoft.DotNet.UpgradeAssistant.Steps.Razor/Microsoft.DotNet.UpgradeAssistant.Steps.Razor.csproj
@@ -19,7 +19,7 @@
5.0.0
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
\ No newline at end of file
diff --git a/src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Source/Microsoft.DotNet.UpgradeAssistant.Steps.Source.csproj b/src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Source/Microsoft.DotNet.UpgradeAssistant.Steps.Source.csproj
index 63a7a92a..78464b4b 100644
--- a/src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Source/Microsoft.DotNet.UpgradeAssistant.Steps.Source.csproj
+++ b/src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Source/Microsoft.DotNet.UpgradeAssistant.Steps.Source.csproj
@@ -12,7 +12,7 @@
3.3.2
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
\ No newline at end of file
diff --git a/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj b/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj
index d2fef17c..54af2f33 100644
--- a/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj
+++ b/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj
@@ -20,22 +20,22 @@
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
1.4.1
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
- 3.9.0
+ $(MicrosoftCodeAnalysisVersion)
runtime; build; native; contentfiles; analyzers; buildtransitive