admin管理员组文章数量:1123147
I have a project that was using .NET 9 and has a bunch of Microsoft.AspNetCore...
and Microsoft.EntityFrameworkCore...
version 9.0 packages installed.
I'm trying to downgrade to .NET 8. I changed all of my projects from .NET 9 to 8. But when I try to use NuGet to change my package versions, I get a lot of errors like
Error (active) NU1202 Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 9.0.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 9.0.0 supports: net9.0 (.NETCoreApp,Version=v9.0)
Is there a way I can force NuGet to ignore those errors and install the packages? Since I'm going to ultimately change all of these 9.0 packages to 8.0, all of the packages will be compatible with each other and with my .NET version when I'm done, but I'm unable to change any of my packages to 8.0 because I keep getting this error since the packages will be temporarily incompatible with each other.
本文标签: cHow can I ignore NU1202 error and force NuGet packages to installStack Overflow
版权声明:本文标题:c# - How can I ignore NU1202 error and force NuGet packages to install? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736552159a1944525.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论