简体   繁体   English

Nuget程序包可能引起的Visual Studio 2013错误?

[英]Possible Visual Studio 2013 Bug Caused by Nuget Package?

I'm encountering a strange bug in visual studio that seems to be caused by a specific Nuget package named Ragnar . 我在Visual Studio中遇到了一个奇怪的错误,它似乎是由名为Ragnar的特定Nuget软件包引起的。 The package is, by its own description 该程序包具有自己的描述

"a C++/CLI wrapper for Rasterbar's libtorrent. It aims to provide a (mostly) complete interface to the underlying C++ library." “用于Rasterbar的libtorrent的C ++ / CLI包装器。它的目的是为底层C ++库提供一个(主要是)完整的接口。”

I've reproduced the bug across multiple machines. 我已经在多台机器上重现了该错误。 So far I've tested Visual Studio 2013 on Windows 7 Ultimate and Windows 7 Professional. 到目前为止,我已经在Windows 7 Ultimate和Windows 7 Professional上测试了Visual Studio 2013。

Steps to reproduce: 重现步骤:

  • Create a new WPF project 创建一个新的WPF项目
  • PM> install-package ragnar
  • Save all and restart Visual Studio 2013 保存所有并重新启动Visual Studio 2013
  • Reopen the project from the Visual Studio 2013 start page. 从Visual Studio 2013初始页面重新打开项目。

Errors: 错误:

System.Runtime.Remoting.RemotingException System.Runtime.Remoting.RemotingException

[5448] Designer process terminated unexpectedly! [5448]设计器进程意外终止!

The exception unknown software exception (0xe0434352) occurred in the application at location 0x74efc42d 异常未知软件异常(0xe0434352)在位置0x74efc42d的应用程序中发生

There is not enough virtual memory available. 没有足够的虚拟内存。 Please save your work and restart (0). 请保存您的工作并重新启动(0)。

The instruction at 0x7740e823 referenced memory at 0x00000024. 0x7740e823处的指令引用了0x00000024处的内存。 The memory could not be read. 无法读取内存。

At this point Visual Studio 2013 becomes unresponsive and needs to be killed via the task manager. 此时,Visual Studio 2013变得无响应,需要通过任务管理器终止。 Removing the reference created by Nuget stops the issue, so I've confirmed it's Ragnar.dll that's causing the issue. 删除由Nuget创建的引用可以解决该问题,因此我已经确认是Ragnar.dll引起了该问题。

Any ideas what could be causing this? 任何想法可能是什么原因造成的? Is this a Visual Studio bug or just weird behavior caused by a buggy class library? 这是Visual Studio错误还是由错误的类库引起的怪异行为?

If this is a bug in the package itself, please contact the owner of this package and ask them to update the package. 如果这是程序包本身的错误,请与该程序包的所有者联系,并要求他们更新程序包。 https://www.nuget.org/packages/Ragnar/0.1.0 https://www.nuget.org/packages/Ragnar/0.1.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM