-
Notifications
You must be signed in to change notification settings - Fork 129
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
Please update Microsoft.Extensions.DependencyModel to the latest version. #83
Comments
👍 this sounds like a fair change to make, at this point. Help appreciated if anyone's able to work through it. |
I didn't notice any compatibility at runtime and build issues with netcoreapp2.0 (tested |
Any chance you're using an old |
Any update on this? |
@zagros any chance you can help pin this issue down to a particular configuration/SDK version/project setup? How are you reproducing? Thanks! |
This is happening on .NET Framework 4.6.2 for me the nuget package i'm using is 2.6.0 I enabled verbose logs and I then I saw this error
i'm using the serilog in a class libary that I include in my Windows Service Projects, and Web API projects (both parts of the same sln). The Web API project for example is using Microsoft.AspnetCore 2.0.1 at the moment (I upgraded the project from 1.1 to 2.0.1 and this is happening on the first .boot) |
Thanks @zagros - it sounds like perhaps the missing datum was "full .NET Framework". Do you have the |
No that node doesn't exists By default it's true Here's the copy of the propertygroup that normally would have that in my case it's not there at all and hence takes the default behaviour
I think it's fair to update the version of the dependency library as the very first post in this thread suggests - 1.0 is long come and gone |
I've updated our |
Not to hijack the topic, but any chance you'd be willing to update Microsoft.Extensions.Configuration.Abstractions to 2.0 at the same time? I use this settings-provider, and next week I'm going to look at fixing the netsandard MS SQL sink config issue and would prefer to go with MEC 2.0 across the board. (I haven't checked whether other Serilog repos are dependent on MEC.) Probably low-risk, it has been my experience that upgrading MEC 1.0 references to 2.0 are largely transparent. (The only real issue for the .NET Framework side is that annoying SDK JSON.NET =9.0.1 binding redirect mess... the MEC.Json 2.0 specfies =10.0.1 or maybe >=10.0.1). |
This might break asp.net core 1.0 but if you are running on 2.0 you have major headaches and runtime errors as well as these warnings if you are using the
AspNetCore.All
meta package. And you are faced to add<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.0.3" />
of version >=2.0.3warning MSB3277: Found conflicts between different versions of "Microsoft.Extensions.DependencyModel" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
The text was updated successfully, but these errors were encountered: