Hi Doconut Support Team,
We are currently upgrading dependencies in our .NET solution and encountered a NuGet version conflict (NU1107) after updating to Doconut.NET6 (v26.9.0).
Issue Details
Installed Package: Doconut.NET6 version 26.9.0
Transitive Dependency: Doconut.NET6 references AWSSDK.S3 (>= 3.7.510.12), which strictly caps AWSSDK.Core to < 4.0.0 (>= 3.7.500.86 && < 4.0.0).
Conflict: Our solution utilizes newer AWS services (such as AWSSDK.SimpleEmailV2 v4.x), requiring AWSSDK.Core >= 4.0.102.9. Because NuGet cannot resolve AWSSDK.Core across major versions 3.x and 4.x in the same dependency tree, restore fails with error NU1107.
Error Message
NU1107: Version conflict detected for AWSSDK.Core.
Install/reference AWSSDK.Core 4.0.102.9 directly in the project to resolve this issue.
Project → AWSSDK.SimpleEmailV2 4.0.106.2 → AWSSDK.Core (>= 4.0.102.9 && < 5.0.0)
Project → Doconut.NET6 26.9.0 → AWSSDK.S3 3.7.510.12 → AWSSDK.Core (>= 3.7.500.86 && < 4.0.0)
Could you let us know if there is an upcoming build or patch of Doconut.NET6 updated to support AWSSDK v4, or if there is a recommended workaround for projects targeting the latest AWS SDK packages?
Thank you for your time and assistance.
Best regards,
Jorge
Hi @Jorge_Garces,
Thank you for the detailed report, and for including the full dependency chain. It makes the conflict between AWSSDK.Core 3.x (through AWSSDK.S3 in Doconut.NET6 26.9.0) and the 4.x your AWS services need very clear.
We are looking into it and will get back to you shortly with an answer on AWSSDK v4 support and a workaround for your project.
Hi @Jorge_Garces
Thank you for reporting this dependency conflict.
Root cause
Doconut 26.9.0 referenced AWSSDK.S3 3.7.510.12 , which depends on AWSSDK.Core 3.x . Your application also references AWSSDK.SimpleEmailV2 4.0.106.2 , which requires AWSSDK.Core 4.x . NuGet cannot resolve both major versions simultaneously, resulting in the NU1107 error.
Resolution
We have updated Doconut’s S3 dependency to AWSSDK.S3 4.0.104.4 and synchronized the dependency declared in the NuGet package metadata.
The correction has been applied consistently to:
- .NET Framework 4.7.2
- .NET 6
- .NET Standard 2.1
- .NET 8
Validation
We tested clean consumer projects referencing:
AWSSDK.S3 4.0.104.4
AWSSDK.SimpleEmailV2 4.0.106.2
NuGet successfully resolves both packages using AWSSDK.Core 4.0.102.11, without producing NU1107.
The fix is planned for Doconut 26.10.0.0.
Thank you again for bringing this issue to our attention.