From ec25a5cf4edf98617d161100c264e8c0f2a539bc Mon Sep 17 00:00:00 2001 From: Johan Petersson Date: Fri, 13 May 2022 13:11:32 +0200 Subject: [PATCH] Updates to latest Commerce 14.30 with .NET6 support --- templates/Cms.Item/RazorPage/MyRazorPage.cshtml.cs | 2 +- templates/Commerce.Empty/Commerce.Empty.1.csproj | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/Cms.Item/RazorPage/MyRazorPage.cshtml.cs b/templates/Cms.Item/RazorPage/MyRazorPage.cshtml.cs index 86c04de..958614d 100644 --- a/templates/Cms.Item/RazorPage/MyRazorPage.cshtml.cs +++ b/templates/Cms.Item/RazorPage/MyRazorPage.cshtml.cs @@ -4,7 +4,7 @@ namespace MyAppNamespace { public class MyRazorPageModel : RazorPageModel { - public void OnGet() + public static void OnGet() { } } diff --git a/templates/Commerce.Empty/Commerce.Empty.1.csproj b/templates/Commerce.Empty/Commerce.Empty.1.csproj index 4b7a84a..8f6af31 100644 --- a/templates/Commerce.Empty/Commerce.Empty.1.csproj +++ b/templates/Commerce.Empty/Commerce.Empty.1.csproj @@ -14,8 +14,7 @@ - - +