使用AspNetCore.SignalR.Client nuget包时找不到SignalR-System.Numerics.Vectors v4.1.4 [英] SignalR - System.Numerics.Vectors v4.1.4 not found when using AspNetCore.SignalR.Client nuget package

查看:61
本文介绍了使用AspNetCore.SignalR.Client nuget包时找不到SignalR-System.Numerics.Vectors v4.1.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试遵循我正在使用的位置:

HubConnectionBuilder() 

在我的WPF客户端应用程序(.NetFramework 4.7)中

.为此,在我看来我需要添加对以下内容的引用:

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

在我的WPF应用中.

但是,在尝试构建时出现此错误:

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.

我是否包括适合WPF的软件包?还是我应该尝试解决文件丢失的问题?如果是后者,如何将正确的文件放入构建文件中?

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?

推荐答案

我认为我已经看到了这个特殊问题.
我记得这只是nuget包依赖项中的一个问题.

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

尝试添加对System.Numerics.Vectors的手动引用

Try adding a manual reference to System.Numerics.Vectors

这篇关于使用AspNetCore.SignalR.Client nuget包时找不到SignalR-System.Numerics.Vectors v4.1.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆