happycoder
nuget package compatibility issues
I am now struggling for days to fix the compatibility issues for the project I am working on with VS 2022, that fails while restoring some Nuget packages. The project is just working fine for other colleagues and they're able to build and restore those packages. I have confirmed that there so major differences between the VS, MS Build and nuget package manager versions between my colleague's system and mine, However, I am getting these errors when I try to build the project:
error NU1202: Package SQLitePCLRaw.bundle_e_sqli
te3 2.1.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package SQLitePCLRaw.bundle_e_sqlite3 2.1.2 does not support any target frameworks.
Failed to restore
3 of 4 projects are up-to-date for restore.`
What could be the cause of the issues? can anyone help?
2 replies