diff --git a/src/Cake.Issues.DocFx/Cake.Issues.DocFx.csproj b/src/Cake.Issues.DocFx/Cake.Issues.DocFx.csproj
index c20a0b201..afa682fac 100644
--- a/src/Cake.Issues.DocFx/Cake.Issues.DocFx.csproj
+++ b/src/Cake.Issues.DocFx/Cake.Issues.DocFx.csproj
@@ -6,7 +6,6 @@
full
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.EsLint/Cake.Issues.EsLint.csproj b/src/Cake.Issues.EsLint/Cake.Issues.EsLint.csproj
index fc4bcda39..acb00afb1 100644
--- a/src/Cake.Issues.EsLint/Cake.Issues.EsLint.csproj
+++ b/src/Cake.Issues.EsLint/Cake.Issues.EsLint.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.GitRepository/Cake.Issues.GitRepository.csproj b/src/Cake.Issues.GitRepository/Cake.Issues.GitRepository.csproj
index dcc27a858..16ea498fa 100644
--- a/src/Cake.Issues.GitRepository/Cake.Issues.GitRepository.csproj
+++ b/src/Cake.Issues.GitRepository/Cake.Issues.GitRepository.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.InspectCode/Cake.Issues.InspectCode.csproj b/src/Cake.Issues.InspectCode/Cake.Issues.InspectCode.csproj
index 53944dac4..05a3881e3 100644
--- a/src/Cake.Issues.InspectCode/Cake.Issues.InspectCode.csproj
+++ b/src/Cake.Issues.InspectCode/Cake.Issues.InspectCode.csproj
@@ -7,7 +7,6 @@
full
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.Markdownlint/Cake.Issues.Markdownlint.csproj b/src/Cake.Issues.Markdownlint/Cake.Issues.Markdownlint.csproj
index 9bcf053bf..ad633821f 100644
--- a/src/Cake.Issues.Markdownlint/Cake.Issues.Markdownlint.csproj
+++ b/src/Cake.Issues.Markdownlint/Cake.Issues.Markdownlint.csproj
@@ -6,7 +6,6 @@
full
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj b/src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj
index 0a9859ca1..ee330482b 100644
--- a/src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj
+++ b/src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.PullRequests.AppVeyor/Cake.Issues.PullRequests.AppVeyor.csproj b/src/Cake.Issues.PullRequests.AppVeyor/Cake.Issues.PullRequests.AppVeyor.csproj
index cf0d0861a..37d501760 100644
--- a/src/Cake.Issues.PullRequests.AppVeyor/Cake.Issues.PullRequests.AppVeyor.csproj
+++ b/src/Cake.Issues.PullRequests.AppVeyor/Cake.Issues.PullRequests.AppVeyor.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
index 649e41a56..cafbbdea0 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.PullRequests.GitHubActions/Cake.Issues.PullRequests.GitHubActions.csproj b/src/Cake.Issues.PullRequests.GitHubActions/Cake.Issues.PullRequests.GitHubActions.csproj
index dacd6aed0..9be026ecf 100644
--- a/src/Cake.Issues.PullRequests.GitHubActions/Cake.Issues.PullRequests.GitHubActions.csproj
+++ b/src/Cake.Issues.PullRequests.GitHubActions/Cake.Issues.PullRequests.GitHubActions.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.PullRequests/Cake.Issues.PullRequests.csproj b/src/Cake.Issues.PullRequests/Cake.Issues.PullRequests.csproj
index 55779ec87..62bd38760 100644
--- a/src/Cake.Issues.PullRequests/Cake.Issues.PullRequests.csproj
+++ b/src/Cake.Issues.PullRequests/Cake.Issues.PullRequests.csproj
@@ -8,7 +8,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.Reporting.Console/Cake.Issues.Reporting.Console.csproj b/src/Cake.Issues.Reporting.Console/Cake.Issues.Reporting.Console.csproj
index b4eeaca23..b6a678b88 100644
--- a/src/Cake.Issues.Reporting.Console/Cake.Issues.Reporting.Console.csproj
+++ b/src/Cake.Issues.Reporting.Console/Cake.Issues.Reporting.Console.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.Reporting.Generic/Cake.Issues.Reporting.Generic.csproj b/src/Cake.Issues.Reporting.Generic/Cake.Issues.Reporting.Generic.csproj
index c03938868..89aeecfe8 100644
--- a/src/Cake.Issues.Reporting.Generic/Cake.Issues.Reporting.Generic.csproj
+++ b/src/Cake.Issues.Reporting.Generic/Cake.Issues.Reporting.Generic.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.Reporting.Sarif/Cake.Issues.Reporting.Sarif.csproj b/src/Cake.Issues.Reporting.Sarif/Cake.Issues.Reporting.Sarif.csproj
index 43c741ea5..e029dd8fe 100644
--- a/src/Cake.Issues.Reporting.Sarif/Cake.Issues.Reporting.Sarif.csproj
+++ b/src/Cake.Issues.Reporting.Sarif/Cake.Issues.Reporting.Sarif.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.Reporting/Cake.Issues.Reporting.csproj b/src/Cake.Issues.Reporting/Cake.Issues.Reporting.csproj
index 0e64289e8..b0a508e45 100644
--- a/src/Cake.Issues.Reporting/Cake.Issues.Reporting.csproj
+++ b/src/Cake.Issues.Reporting/Cake.Issues.Reporting.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.Sarif/Cake.Issues.Sarif.csproj b/src/Cake.Issues.Sarif/Cake.Issues.Sarif.csproj
index 59de6e1a6..2b914ec27 100644
--- a/src/Cake.Issues.Sarif/Cake.Issues.Sarif.csproj
+++ b/src/Cake.Issues.Sarif/Cake.Issues.Sarif.csproj
@@ -6,8 +6,6 @@
full
- AllEnabledByDefault
- ..\Cake.Issues.ruleset
true
diff --git a/src/Cake.Issues.Sarif/SarifIssuesProvider.cs b/src/Cake.Issues.Sarif/SarifIssuesProvider.cs
index 3aecd3b8e..445910652 100644
--- a/src/Cake.Issues.Sarif/SarifIssuesProvider.cs
+++ b/src/Cake.Issues.Sarif/SarifIssuesProvider.cs
@@ -2,6 +2,7 @@
{
using System;
using System.Collections.Generic;
+ using System.Globalization;
using System.Linq;
using Cake.Core.Diagnostics;
using Cake.Issues;
@@ -119,12 +120,20 @@ private static (string Text, string Markdown) GetMessage(
if (!string.IsNullOrEmpty(message.Text))
{
- messageText = string.Format(message.Text, arguments.ToArray());
+ messageText =
+ string.Format(
+ CultureInfo.InvariantCulture,
+ message.Text,
+ arguments.ToArray());
}
if (!string.IsNullOrEmpty(message.Markdown))
{
- messageMarkdown = string.Format(message.Markdown, arguments.ToArray());
+ messageMarkdown =
+ string.Format(
+ CultureInfo.InvariantCulture,
+ message.Markdown,
+ arguments.ToArray());
}
return (messageText, messageMarkdown);
diff --git a/src/Cake.Issues.Terraform/Cake.Issues.Terraform.csproj b/src/Cake.Issues.Terraform/Cake.Issues.Terraform.csproj
index 09a7b4985..2cec50fc1 100644
--- a/src/Cake.Issues.Terraform/Cake.Issues.Terraform.csproj
+++ b/src/Cake.Issues.Terraform/Cake.Issues.Terraform.csproj
@@ -6,7 +6,6 @@
full
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues.Testing/Cake.Issues.Testing.csproj b/src/Cake.Issues.Testing/Cake.Issues.Testing.csproj
index 3cca796a1..8c87f26c6 100644
--- a/src/Cake.Issues.Testing/Cake.Issues.Testing.csproj
+++ b/src/Cake.Issues.Testing/Cake.Issues.Testing.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Cake.Issues/Cake.Issues.csproj b/src/Cake.Issues/Cake.Issues.csproj
index f7a142c53..49d72d1b3 100644
--- a/src/Cake.Issues/Cake.Issues.csproj
+++ b/src/Cake.Issues/Cake.Issues.csproj
@@ -7,7 +7,6 @@
full
true
- AllEnabledByDefault
..\Cake.Issues.ruleset
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index f42c3b7c1..784dea175 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -19,6 +19,7 @@
true
+ AllEnabledByDefault