From 77af65e0625ecc5ece17ad6e5ea2310a9afb4774 Mon Sep 17 00:00:00 2001 From: Peetu Saarinen Date: Thu, 5 Jun 2025 10:42:04 +0300 Subject: [PATCH 1/3] Fix the template update command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f005b96..1ef2b91 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Template options: ## Update the template -`dotnet new frendstasktemplate --update-apply` +`dotnet new update` ## Uninstall the template From 9326158a2013d16045fd9b8960d0599a6f17f9ad Mon Sep 17 00:00:00 2001 From: Peetu Saarinen Date: Thu, 5 Jun 2025 14:03:52 +0300 Subject: [PATCH 2/3] Add .NET 8.0 specific StyleCop suppressions --- .../Frends.Echo.Execute.Tests/GlobalSuppressions.cs | 3 +++ Frends.Template/Frends.Echo.Execute/GlobalSuppressions.cs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Frends.Template/Frends.Echo.Execute.Tests/GlobalSuppressions.cs b/Frends.Template/Frends.Echo.Execute.Tests/GlobalSuppressions.cs index 45ae689..b48c026 100644 --- a/Frends.Template/Frends.Echo.Execute.Tests/GlobalSuppressions.cs +++ b/Frends.Template/Frends.Echo.Execute.Tests/GlobalSuppressions.cs @@ -1,7 +1,10 @@ using System.Diagnostics.CodeAnalysis; +[assembly: SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1000:KeywordsMustBeSpacedCorrectly", Justification = "Incorrect for .NET 8.0")] +[assembly: SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1010:OpeningSquareBracketsMustBeSpacedCorrectly", Justification = "Incorrect for .NET 8.0")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1101:PrefixLocalCallsWithThis", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1200:UsingDirectivesMustBePlacedWithinNamespace", Justification = "Following Frends documentation guidelines")] +[assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1206:DeclarationKeywordsMustFollowOrder", Justification = "Incorrect for .NET 8.0")] [assembly: SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1503:BracesMustNotBeOmitted", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1633:FileMustHaveHeader", Justification = "Following Frends documentation guidelines")] diff --git a/Frends.Template/Frends.Echo.Execute/GlobalSuppressions.cs b/Frends.Template/Frends.Echo.Execute/GlobalSuppressions.cs index 7271476..e180a1e 100644 --- a/Frends.Template/Frends.Echo.Execute/GlobalSuppressions.cs +++ b/Frends.Template/Frends.Echo.Execute/GlobalSuppressions.cs @@ -1,7 +1,10 @@ using System.Diagnostics.CodeAnalysis; +[assembly: SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1000:KeywordsMustBeSpacedCorrectly", Justification = "Incorrect for .NET 8.0")] +[assembly: SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1010:OpeningSquareBracketsMustBeSpacedCorrectly", Justification = "Incorrect for .NET 8.0")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1101:PrefixLocalCallsWithThis", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1200:UsingDirectivesMustBePlacedWithinNamespace", Justification = "Following Frends documentation guidelines")] +[assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1206:DeclarationKeywordsMustFollowOrder", Justification = "Incorrect for .NET 8.0")] [assembly: SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1503:BracesMustNotBeOmitted", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:PropertySummaryDocumentationMustMatchAccessors", Justification = "Following Frends documentation guidelines")] [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1629:DocumentationTextMustEndWithAPeriod", Justification = "Following Frends Tasks guidelines")] From 64b2c17051a7c15ddcc84825148b925def5f30b7 Mon Sep 17 00:00:00 2001 From: Peetu Saarinen Date: Thu, 5 Jun 2025 14:04:53 +0300 Subject: [PATCH 3/3] Bump version to 1.3.0 --- FrendsTaskTemplate.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FrendsTaskTemplate.csproj b/FrendsTaskTemplate.csproj index e2ea743..5fadd69 100644 --- a/FrendsTaskTemplate.csproj +++ b/FrendsTaskTemplate.csproj @@ -2,7 +2,7 @@ Template - 1.2.0 + 1.3.0 frendstasktemplate Frends Task template Frends