error NU1202: Package Common.Logging 1.2.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Common.Logging 1.2.0 supports: 10 (1.0,Version=v0.0)

Author: LuisBoydRCRCreated Jan 28, 2025Updated Jan 28, 2025

Have been trying to build the docker-compose.yml and I keep running into this error during the dotnet restore stage of the image

error NU1202: Package Common.Logging 1.2.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Common.Logging 1.2.0 supports: 10 (1.0,Version=v0.0)

I have tried commenting out Quartz Library reference which seems to fix the issue when it comes to restoring the packages but when I try to compile it will fail obviously due to the project relaying on Quartz

Anyone else had this issue and encounter a solution?

I have attached a build.log which shows the restore stage so maybe might help

build.log

Source: kgrzybek/modular-monolith-with-ddd