错误:RZ3901 视图组件“ViewComponents.RegularPaymentGridViewComponent”必须具有一个名为“Invoke”或“InvokeAsync”的公共方法

问题描述 投票:0回答:1

我遇到了 567 次这个错误。我刚刚将 VS 2022 17.7.5 更新到 17.8.6。之后我收到了这个错误' 错误 RZ3901 视图组件“Scribe.Web.ViewComponents.RegularPaymentGridViewComponent”必须具有一个名为“Invoke”或“InvokeAsync”的公共方法。网页 C:\Users\smayd\OneDrive\Masaüstü\ScribeWeb\Scribe\Web\SDKRAZORGENERATE 1
' 在我的项目中,也出现此错误'此解决方案包含有漏洞的包。管理 NuGet 包 ' 显示在解决方案资源管理器的顶部。 enter image description here

从现在开始谢谢你。

c# asp.net razor-pages
1个回答
0
投票

以下问题与您的问题类似:

ViewComponent 必须有一个名为“InvokeAsync”或“Invoke”的公共方法 - ASP.NET CORE (.NET 6)

查看已接受的答案,看看它是否有助于解决您的问题。

© www.soinside.com 2019 - 2024. All rights reserved.