Skip to content

Commit f4dbfef

Browse files
Make implicit global usings opt-in
1 parent 21efd0c commit f4dbfef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ImageSharp.Web.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_root", "_root", "{C317F1B1
1616
Directory.Build.targets = Directory.Build.targets
1717
LICENSE = LICENSE
1818
README.md = README.md
19+
SixLabors.ImageSharp.Web.props = SixLabors.ImageSharp.Web.props
1920
shared-infrastructure\SixLabors.ruleset = shared-infrastructure\SixLabors.ruleset
2021
shared-infrastructure\SixLabors.Tests.ruleset = shared-infrastructure\SixLabors.Tests.ruleset
2122
shared-infrastructure\stylecop.json = shared-infrastructure\stylecop.json

SixLabors.ImageSharp.Web.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33

44
<!--Add common namespaces to implicit global usings if enabled.-->
5-
<ItemGroup Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'">
5+
<ItemGroup Condition="'$(UseImageSharp)'=='enable' OR '$(UseImageSharp)'=='true'">
66
<Using Include="SixLabors.ImageSharp" />
77
<Using Include="SixLabors.ImageSharp.Processing" />
88
<Using Include="SixLabors.ImageSharp.Web" />

0 commit comments

Comments
 (0)