FluentFTP: Microsoft.Extensions.Logging.Abstractions : Error Version
**FTP OS: Unix
FTP Server: Pure-FTPd
Computer OS: Windows 11
FluentFTP Version: 40.0.0
Framework: .NET 7.4.2
Dependance : Microsoft.Extensions.Logging.Abstractions 2.1.0 Needed But not working. Windows Need Microsoft.Extensions.Logging.Abstractions 6.0.2
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (7 by maintainers)
The modernized/new style of csproj that consolidates
packages.configand many parts ofapp.configinto csproj.old style csproj
new/SDK style csproj
My example application also works when not upgrading
Microsoft.Extensions.Logging.Abstractions.These kinds of problems are commonly referred to as Dependency Hell.
Using SDK style project alleviates a bunch of these problems, but cannot resolve all of them, e.g. the “Diamond dependency” (see the other link).
My best advice is if possible to upgrade to SDK style projects.
Otherwise look in
app.configto see if it containsand change it to this to guide the .NET runtime to look for the newer
Microsoft.Extensions.Logging.Abstractions.dll.