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?
1 Reply
Answer from Tianyu Sun-MSFT on this page has resolved the issue for me:
https://learn.microsoft.com/en-us/answers/questions/1093101/after-installing-vs2022-getting-nu1201-error-on-ne
After installing VS2022 , getting NU1201 error on .net framework 4....
Hi,
I have developed on .net framework 4.7.2 and want to use .net6 on same machine , for that reason I have installed VS2022.
Everything were build perfectly on VS2019.
After installing VS2022 , getting NU1201 error on native projects of .NET…
I have developed on .net framework 4.7.2 and want to use .net6 on same machine , for that reason I have installed VS2022.
Everything were build perfectly on VS2019.
After installing VS2022 , getting NU1201 error on native projects of .NET…