Browse Source

Enable optional implicit usings via NuGet

pull/2229/head
James Jackson-South 4 years ago
parent
commit
d14c82023f
  1. 11
      SixLabors.ImageSharp.props
  2. 2
      shared-infrastructure
  3. 1
      src/ImageSharp/ImageSharp.csproj

11
SixLabors.ImageSharp.props

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!--Add common namespaces to implicit global usings if enabled.-->
<ItemGroup Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'">
<Using Include="SixLabors.ImageSharp" />
<Using Include="SixLabors.ImageSharp.PixelFormats" />
<Using Include="SixLabors.ImageSharp.Processing" />
</ItemGroup>
</Project>

2
shared-infrastructure

@ -1 +1 @@
Subproject commit b9094822f523a19d7afc89de07f33dd6c534514e
Subproject commit f79b8d073aeb2deb4cb095a9d4b94aa2be26c848

1
src/ImageSharp/ImageSharp.csproj

@ -38,6 +38,7 @@
<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack="true" PackagePath="" />
<None Include="..\..\SixLabors.ImageSharp.props" Pack="true" PackagePath="build" />
</ItemGroup>
<ItemGroup>

Loading…
Cancel
Save