593172440
593172440
  选择任意图标库之后,再返选到【请选择】选项之后就报错了。
更新注释,第一次提交,看看对不对,不对的话我再改改。
 比如新建一个CommHub类并继承Hub,我这里初始化了_context,但是在调用的时候提示: Error when dispatching 'OnConnectedAsync' on hub. System.InvalidOperationException: Unable to resolve service for type 'XXK.DataContext' while attempting to activate 'XXK.Hubs.CommHub'. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)...
最新版本无法运行
版本:v2.0.12 用这个命令创建方案:dotnet new known --name=Sample 启动Sample.Web项目,然后就报这个错 