-
Notifications
You must be signed in to change notification settings - Fork 103
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
.NET 4.7 library is in netstandard2.0 folder #86
Comments
That's very strange - here's the CSPROJ: https://github.com/serilog/serilog-extensions-logging/blob/dev/src/Serilog.Extensions.Logging/Serilog.Extensions.Logging.csproj#L7 I wonder if it could be a glitch in the viewer, rather than the package? Might need to unzip the NUPKG and dig around. Is the assembly working correctly? |
The assembly is not working because netstandard uses I had to add logger manually: |
Is it possible you need to update Microsoft.Extensions.Logging? See e.g. #83 (review) |
Indeed the version from NuGet has the I need to configure logging when building a host in this way:
Could you confirm this? |
LGTM, though I'm just wrapping my head around the new APIs, too. |
I'm using the dev build of Serilog.Extensions.Logging and it turned out that .NET 4.7 assembly supplied instead of netstandard 2.0.
The text was updated successfully, but these errors were encountered: