diff --git a/Lombiq.Analyzers/AnalyzerPackages.props b/Lombiq.Analyzers/AnalyzerPackages.props
index 45596bf..4e245ab 100644
--- a/Lombiq.Analyzers/AnalyzerPackages.props
+++ b/Lombiq.Analyzers/AnalyzerPackages.props
@@ -7,7 +7,7 @@
-
+
diff --git a/renovate.json5 b/renovate.json5
index 152e9d0..08944b4 100644
--- a/renovate.json5
+++ b/renovate.json5
@@ -15,6 +15,17 @@
},
],
packageRules: [
+ {
+ // Microsoft.CodeAnalysis.CSharp.CodeStyle references Roslyn, and if its version is higher than that of the
+ // locally installed SDK, it'll emit a "CSC : error CS9057: The analyzer assembly
+ // '/home/runner/.nuget/packages/microsoft.codeanalysis.csharp.codestyle/4.11.0/analyzers/dotnet/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.dll'
+ // references version '4.31.0.0' of the compiler, which is newer than the currently running version
+ // '4.10.0.0'." error. So, we need to update it manually together with the SDK (and targeted .NET version).
+ matchPackageNames: [
+ 'Microsoft.CodeAnalysis.CSharp.CodeStyle',
+ ],
+ enabled: false,
+ },
{
groupName: 'All packages',
matchUpdateTypes: ['*'],