与 Blazor (oqtane) 一起使用时,使用 Radzen 的下拉组件时出错

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

我正在尝试将 Radzen 的下拉组件与 oqtane 一起使用。我尝试安装 System.Linq.Dynamic.core 包,但错误未解决,仍然出现相同的异常。

使用 Radzen 的下拉组件是否需要安装?

错误详情:

An Unexpected Error Has Occurred In Oqtane.Blogs, Oqtane.Blogs.Client.Oqtane: Could not load file or assembly 'System.Linq.Dynamic.Core, Version=1.2.22.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832'. The system cannot find the file specified.

堆栈跟踪:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Linq.Dynamic.Core, Version=1.2.22.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832'. The system cannot find the file specified.
File name: 'System.Linq.Dynamic.Core, Version=1.2.22.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832'
   at Radzen.DropDownBase`1.OnParametersSet()
   at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Radzen.RadzenComponent.SetParametersAsync(ParameterView parameters)
   at Radzen.DataBoundFormComponent`1.SetParametersAsync(ParameterView parameters)
   at Radzen.DropDownBase`1.SetParametersAsync(ParameterView parameters)
   at Radzen.Blazor.RadzenDropDown`1.SetParametersAsync(ParameterView parameters)

enter image description here

c# blazor dropdown radzen
1个回答
0
投票

您需要将 System.Linq.Dynamic.Core 添加到您的 debug.cmd 文件中,以确保该文件存在于您的调试 bin 中。

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