无法使用已安装的 Blazor QuickGrid nuget 包

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

我正在使用 Visual Studio 2022。我的 Blazor WebAssembly 项目使用 .NET Core 7。我已经从包管理器安装了 Microsoft.AspNetCore.Component.QuickGrid nuget 包,它出现在我的 Dependecencies/Package 中,并且包含在项目文件的 ItemsGroup。

但是,当我在我的 razor 组件中尝试 @using Microsoft.AspNetCore.Component.QuickGrid 时,它没有引用它。

我试过重建项目并重新加载 VS,然后重新安装包。仍然没有运气。

有什么建议吗?

c# nuget-package blazor-webassembly
1个回答
0
投票

刚刚查了一下,最近的 QuickGrid Apr 11,2023 版本是针对 .NET Core 8.0 prerelease 的。这可能是问题所在。

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