脚手架身份时出错:Microsoft.aspnetcore.Identity的两个版本?

发布于 2025-01-27 21:52:22 字数 347 浏览 4 评论 0原文

我正在尝试在Blazor Server应用程序中添加脚手架。当我收到下面的错误时(重复大约25次,我只是为Brevity盖上了前两个)。

这让我感到困惑,因为它指出有两个版本的aspnetcore.Identitions,6.0.0.0和2.2.0.0,均与相同的publicKeytoken。

有人知道这里发生了什么吗?

I'm attempting to add scaffolding for Identity in a blazor server app. When I do I get the error below (it's repeated about 25 times, I just capped the first two for brevity).

This is confusing me because it is stating there are two versions of AspNetCore.Identity, 6.0.0.0 and 2.2.0.0, both with the same PublicKeyToken.

Does anyone have any idea what's going on here?

Screenshot of error

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

秋意浓 2025-02-03 21:52:22

我遇到了一些问题,我解决了。尝试更新所有nuged软件包并删除身份页和控制器,然后再次创建。

I had some problems and i fixed them. Try to update all Nuged packages and delete identity pages and controllers then create again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文