From f4dbfef53eeccdac6975745b3448aec1be1710b3 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Thu, 31 Jul 2025 12:13:44 +1000 Subject: [PATCH 1/2] Make implicit global usings opt-in --- ImageSharp.Web.sln | 1 + SixLabors.ImageSharp.Web.props | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ImageSharp.Web.sln b/ImageSharp.Web.sln index 4e1781f8..8c81ddff 100644 --- a/ImageSharp.Web.sln +++ b/ImageSharp.Web.sln @@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_root", "_root", "{C317F1B1 Directory.Build.targets = Directory.Build.targets LICENSE = LICENSE README.md = README.md + SixLabors.ImageSharp.Web.props = SixLabors.ImageSharp.Web.props shared-infrastructure\SixLabors.ruleset = shared-infrastructure\SixLabors.ruleset shared-infrastructure\SixLabors.Tests.ruleset = shared-infrastructure\SixLabors.Tests.ruleset shared-infrastructure\stylecop.json = shared-infrastructure\stylecop.json diff --git a/SixLabors.ImageSharp.Web.props b/SixLabors.ImageSharp.Web.props index 2d95d7d1..1f42eb91 100644 --- a/SixLabors.ImageSharp.Web.props +++ b/SixLabors.ImageSharp.Web.props @@ -2,7 +2,7 @@ - + From b3821f9b5607c052cfece60b9e8b828f264965c5 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Thu, 31 Jul 2025 12:32:12 +1000 Subject: [PATCH 2/2] Update _ViewImports.cshtml --- samples/ImageSharp.Web.Sample/Pages/_ViewImports.cshtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/ImageSharp.Web.Sample/Pages/_ViewImports.cshtml b/samples/ImageSharp.Web.Sample/Pages/_ViewImports.cshtml index f5dfabe4..05714033 100644 --- a/samples/ImageSharp.Web.Sample/Pages/_ViewImports.cshtml +++ b/samples/ImageSharp.Web.Sample/Pages/_ViewImports.cshtml @@ -1,3 +1,6 @@ +@using SixLabors.ImageSharp +@using SixLabors.ImageSharp.Processing +@using SixLabors.ImageSharp.Web @using ImageSharp.Web.Sample @namespace ImageSharp.Web.Sample.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers