Skip to content

Commit

Permalink
Consolidate dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Jun 4, 2024
1 parent 88bce67 commit bc28046
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/WebApp/WebApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,27 @@
</ItemGroup>

<ItemGroup Condition="'$(NET_6_0)' == true">
<PackageReference Include="System.Diagnostics.DiagnosticSource" />
</ItemGroup>

<ItemGroup Condition="'$(NET_7_0)' == true">
<PackageReference Include="System.Diagnostics.EventLog" />
</ItemGroup>

<ItemGroup Condition="'$(NET_6_0)' == true Or '$(NET_7_0)' == true">
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.Abstractions" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Options" />
<PackageReference Include="Microsoft.Extensions.Primitives" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" />
<PackageReference Include="System.Text.Encodings.Web" />
<PackageReference Include="System.Text.Json" />
</ItemGroup>

<ItemGroup Condition="'$(NET_8_0)' == true">
Expand Down Expand Up @@ -55,6 +69,7 @@
<PackageReference Include="NetLah.Extensions.Logging.Serilog" />

<PackageReference Include="Serilog.AspNetCore" />
<PackageReference Include="Serilog" />
<PackageReference Include="Serilog.Enrichers.CorrelationId" />
<PackageReference Include="Serilog.Enrichers.Environment" />
<PackageReference Include="Serilog.Enrichers.Thread" />
Expand Down

0 comments on commit bc28046

Please sign in to comment.