Skip to content

Commit 8d7dd15

Browse files
committed
EventLogIntegration - Move to NET8
1 parent 0b1ac81 commit 8d7dd15

File tree

5 files changed

+5
-37
lines changed

5 files changed

+5
-37
lines changed

ref/Castle.Services.Logging.EventlogIntegration-net6.0.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

ref/Castle.Services.Logging.EventLogIntegration-net6.0.cs renamed to ref/Castle.Services.Logging.EventlogIntegration-net8.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/castleproject/Core")]
2-
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName=".NET 6.0")]
2+
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName=".NET 8.0")]
33
namespace Castle.Services.Logging
44
{
55
[System.Runtime.Versioning.SupportedOSPlatform("windows")]

src/Castle.Core/Castle.Core.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
3737
</ItemGroup>
3838

39-
<ItemGroup>
40-
<Folder Include="Properties\" />
41-
</ItemGroup>
42-
4339
<ItemGroup>
4440
<Compile Include="..\..\buildscripts\CommonAssemblyInfo.cs" />
4541
</ItemGroup>

src/Castle.Services.Logging.EventLogIntegration/Castle.Services.Logging.EventLogIntegration.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="..\..\buildscripts\common.props"></Import>
44

55
<PropertyGroup>
6-
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
6+
<TargetFrameworks>net8.0;net462;netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<PropertyGroup>
@@ -24,12 +24,8 @@
2424
<Folder Include="Properties\" />
2525
</ItemGroup>
2626

27-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0' OR '$(TargetFramework)'=='netstandard2.1'">
28-
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0" />
29-
</ItemGroup>
30-
31-
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
32-
<PackageReference Include="System.Diagnostics.EventLog" Version="6.0.0" />
27+
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' != '.NETFramework' ">
28+
<PackageReference Include="System.Diagnostics.EventLog" Version="8.0.2" />
3329
</ItemGroup>
3430

3531
<ItemGroup>

src/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="NLog" Version="4.5.0" />
28+
<PackageReference Include="NLog" Version="4.7.15" />
2929
</ItemGroup>
3030

3131
<ItemGroup>

0 commit comments

Comments
 (0)