Inconsistent dependencies for AWSSDK.Extensions.NETCore.Setup #3598
Labels
bug
This issue is a bug.
Extensions
p2
This is a standard priority issue
v4
xs
Effort estimation: tiny
Describe the bug
as per 6215931 which updates
Microsoft.Extensions.DependencyInjection.Abstractions
for .NET 8.0+, but this does not also update https://github.com/aws/aws-sdk-net/blob/v4-development/extensions/src/AWSSDK.Extensions.NETCore.Setup/AWSSDK.Extensions.NETCore.Setup.nuspec#L31Regression Issue
Expected Behavior
The dependencies are consistent between the two files.
Current Behavior
nuget reports version 2.0, whereas the assembly requires 8.0
Reproduction Steps
Microsoft.Extensions.DependencyInjection.Abstractions
<8.0
AWSSDK.Extensions.NETCore.Setup
v4.0.0-preview.5
dotnet build
This should fail due to the assembly having a reference to
Microsoft.Extensions.DependencyInjection.Abstractions
<8.0
, whereas the assemblyAWSSDK.Extensions.NETCore.Setup
requires >=8.0
Possible Solution
update
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="2.0.0" />
to<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.0" />
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Extensions.NETCore.Setup 4.0.0-preview.5
Targeted .NET Platform
.NET 8.0, .NET 9.0
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: