Skip to content

Commit

Permalink
Use implicit using statements
Browse files Browse the repository at this point in the history
Enable implicit using statements.
Add some custom implicit using statements.
  • Loading branch information
martincostello committed Sep 25, 2021
1 parent 4c3bcac commit 9559742
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,14 @@
<ProjectCapability Include="DynamicFileNesting" />
</ItemGroup>

<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<Using Include="JetBrains.Annotations" />
<Using Include="Microsoft.AspNetCore.Authentication" />
<Using Include="Microsoft.AspNetCore.Authentication.OAuth" />
</ItemGroup>

</Project>

0 comments on commit 9559742

Please sign in to comment.