C#Six Labors ImageSharp运行时错误系统。内存4.0.1.0 Visual Studio 2019

C#Six Labors ImageSharp运行时错误系统。内存4.0.1.0 Visual Studio 2019,c#,imagesharp,system.memory,C#,Imagesharp,System.memory,在Visual Studio 2019中加载的需要图像处理的项目中,使用了该库。但在尝试加载映像时,会弹出运行时错误: FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find t

在Visual Studio 2019中加载的需要图像处理的项目中,使用了该库。但在尝试加载映像时,会弹出运行时错误:

FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
在使用ImageSharp的项目中,安装了System.Memory引用,属性显示它是
4.0.1.0
。但是当编译并检查DLL的详细信息时,会显示
4.6.28619.1

我试图删除引用并用NuGet重新安装,但得到了相同的版本差异。NuGet软件包也不显示“以前的版本”部分中列出的版本
4.0.1.0

试图重新安装不同版本的
系统内存,但无效。还搜索了GitHub回购协议上的问题,但没有提到这一点

ImageSharp是否链接到
4.0.1.0
,无论您安装哪个版本,它都会显示
4.0.1.0

我如何解决这个问题,使运行时错误不显示,我可以使用ImageSharp

更新: 安装夜间构建“解决”了问题。此版本使用System.Memory>=4.5.3安装最新版本

在使用NET Framework时,有时会出现由NET标准的滑稽性引起的绑定重定向问题。我们现在引用一个更高的版本