SignalR - System.Numerics.Vectors v4.1.4 not found when using AspNetCore.SignalR.Client nuget package

ぃ、小莉子 提交于 2019-12-11 08:53:44

问题


I am trying to follow the pattern shown in this question.

where I'm using:

HubConnectionBuilder() 

in my WPF client app (.NetFramework 4.7). To do this, it seems to me I need to add a reference to:

Microsoft.AspNetCore.SignalR.Client

in my WPF app.

However, I'm getting this error when I try to build:

System.IO.FileNotFoundException: Could not load file or assembly
'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified.

Am I including the right package for WPF? Or should I be trying to solve the missing file issue? If the latter, how to I get the right file into my build?


回答1:


I think I've seen this particular problem.
As I recall this is "just" a problem in the nuget package dependencies.

Try adding a manual reference to System.Numerics.Vectors



来源:https://stackoverflow.com/questions/49943169/signalr-system-numerics-vectors-v4-1-4-not-found-when-using-aspnetcore-signalr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!