-
Notifications
You must be signed in to change notification settings - Fork 125
Cannot add Serilog.Sinks.File to .NET Core 3.x #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi! You can add: <PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" /> to your CSPROJ. I think we may need to update the dependency versions in this package to avoid this annoyance once 3.0 is out. |
I just ran into this in a <PackageReference Include="System.IO.FileSystem.Primitives">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Encoding.Extensions">
<Version>4.3.0</Version>
</PackageReference> Can anything be done to not require these? |
Thanks for the nudge, @alexrp - reopening so that someone might be able to PR an update for this 👍 |
The PackageReference workaround didn't work for me for some reason. In my case, I'm trying to bundle a .NET Core 3.1 WPF application into a Desktop Bridge project. For now I've had to simply remove the reference to Serilog.Sinks.File, which of course is not ideal. I see there is a fix pending, so I'm hoping that I'll be able to re-add it soon. |
Any chance the production version of this will be fixed anytime soon? I can build for windows platforms on .net core 3.1 but when I build for linux-x64 I get the downgrade messages as posted above.
I also tried using the prerelease nuget package, but it didn't fix it either. |
Using latest .NET Core v3.0.0-preview5
My proj has:
I then try to install package Serilog.Sinks.File
I get:
How do I solve this ?
The text was updated successfully, but these errors were encountered: