Dependencies targeting net6.0 framework
I'm facing a problem related to Castle Core 5.1.1 because it depends on the System.Diagnostics.EventLog version 6.0.0 assembly, but my project is targeting .NET 8.0, and this is causing assemblies from previous versions of the framework to be included in the .NET 8.0 when my project is published. Is there some way to avoid that?
Here is the csproj of CastleCore:
https://github.com/castleproject/Core/blob/master/src/Castle.Core/Castle.Core.csproj
On VS Modules window, i can see assemblies that was not loaded beucase is using a different .net version:
hi @lommez
We can't change Castle, but you can feedback this to castleproject. We need to implement the interceptor using Castle.Core.AsyncInterceptor
But would maintaining a project that has not had updates since 2022 be a good strategy for ABP? This can be a limiting factor for many developers. Maybe looking for other libraries that are active, or even implementing something of your own, would not have future problems.
hi
I'm not sure, but you can try to add the high version package to your project.
<PackageReference Include="System.Diagnostics.EventLog" Version="8.0.0" />