Skip to content

Commit

Permalink
Merge pull request #380 from 0xced/fix-net48-tests
Browse files Browse the repository at this point in the history
Fix tests on .NET Framework 4.8
  • Loading branch information
skomis-mm authored May 8, 2023
2 parents 26945f1 + 4ec3365 commit 5b2b456
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/TestApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

Thread.CurrentThread.Name = "Main thread";

var configurationValues = new Dictionary<string, string>
var configurationValues = new Dictionary<string, string?>
{
["Serilog:Enrich:0"] = "WithThreadName",
["Serilog:WriteTo:0:Name"] = "Console",
Expand Down
4 changes: 2 additions & 2 deletions test/TestApp/TestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<ItemGroup Condition="$(Configuration) == 'Debug'">
<ProjectReference Include="..\..\src\Serilog.Settings.Configuration\Serilog.Settings.Configuration.csproj" />
</ItemGroup>

<ItemGroup Condition="$(Configuration) == 'Release'">
<PackageReference Include="Serilog.Settings.Configuration" Version="[0.0.0-IntegrationTest.0]" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Costura.Fody" Version="5.7.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
</ItemGroup>
Expand Down

0 comments on commit 5b2b456

Please sign in to comment.