Cannot upgrade from 1.0.4.10 to 1.0.4.12 without upgrading to .net core 2.1 #136

Closed
opened 2025-12-29 08:22:44 +01:00 by adam · 5 comments
Owner

Originally created by @bgiot on GitHub (Aug 29, 2018).

Originally assigned to: @StefH on GitHub.

Got the following error :
NU1605: Detected package downgrade: Microsoft.Extensions.Configuration.Json from 2.1.1 to 2.0.2.
The dependency on Microsoft.AspNetCore has been changed from >=2.0.0 to >=2.1.2.
Why this happens for a such WireMock.Net minor upgrade version ?

Originally created by @bgiot on GitHub (Aug 29, 2018). Originally assigned to: @StefH on GitHub. Got the following error : NU1605: Detected package downgrade: Microsoft.Extensions.Configuration.Json from 2.1.1 to 2.0.2. The dependency on Microsoft.AspNetCore has been changed from >=2.0.0 to >=2.1.2. Why this happens for a such WireMock.Net minor upgrade version ?
adam added the bug label 2025-12-29 08:22:44 +01:00
adam closed this issue 2025-12-29 08:22:44 +01:00
Author
Owner

@StefH commented on GitHub (Aug 29, 2018):

The reason for this is that I was solving a bug related to net461 and OWIN.

But if it helps you, I can Microsoft.AspNetCore revert back to the most recent 2.0.x version, which would be 2.0.4 ?

@StefH commented on GitHub (Aug 29, 2018): The reason for this is that I was solving a bug related to net461 and OWIN. But if it helps you, I can `Microsoft.AspNetCore` revert back to the most recent `2.0.x` version, which would be `2.0.4` ?
Author
Owner

@bgiot commented on GitHub (Aug 29, 2018):

Can be an option. I'll try first to see if my own dependencies can be upgraded and still work on .net core 2.0. Maybe by design keep lowest working dependencies to avoid forcing upgrade unless necessary...

@bgiot commented on GitHub (Aug 29, 2018): Can be an option. I'll try first to see if my own dependencies can be upgraded and still work on .net core 2.0. Maybe by design keep lowest working dependencies to avoid forcing upgrade unless necessary...
Author
Owner

@StefH commented on GitHub (Aug 29, 2018):

Please keep me updated on your investigation.

It's not much work for me to downgrade and create a new NuGet.

Thanks for the advice about the dependencies, I know this rule, but sometimes I forget ;-)

@StefH commented on GitHub (Aug 29, 2018): Please keep me updated on your investigation. It's not much work for me to downgrade and create a new NuGet. Thanks for the advice about the dependencies, I know this rule, but sometimes I forget ;-)
Author
Owner

@bgiot commented on GitHub (Aug 29, 2018):

Seems to be fine on my side. I succeeded to do the necessary upgrade without any big issues. Let's close this bug.

@bgiot commented on GitHub (Aug 29, 2018): Seems to be fine on my side. I succeeded to do the necessary upgrade without any big issues. Let's close this bug.
Author
Owner

@StefH commented on GitHub (Aug 29, 2018):

ok

@StefH commented on GitHub (Aug 29, 2018): ok
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#136