gpt4 book ai didi

c# - 将Blazor从3.1升级到5.0时出错 "does not have a property matching the name ' PreferExactMatches'“

转载 作者:行者123 更新时间:2023-12-03 16:26:08 27 4
gpt4 key购买 nike

根据迁移文档here,建议添加此属性PreferExactMatches enter image description here
当我这样做时,我会收到此错误InvalidOperationException: Object of type 'Microsoft.AspNetCore.Components.Routing.Router' does not have a property matching the name 'PreferExactMatches'.甚至API explorer都说该属性不存在。我在这里想念什么吗?请提出建议。
目前,我正在跳过它及其工作。

最佳答案

MS迁移文档位于修补程序版本的前面。 (同时编辑文档)。 PreferExactMatches属性尚未发布,但将在第二天发布。
https://github.com/dotnet/AspNetCore.Docs/issues/20838

关于c# - 将Blazor从3.1升级到5.0时出错 "does not have a property matching the name ' PreferExactMatches'“,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65085948/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com