NuGet 包管理器使我的 VS2010 Ultimate 崩溃。有谁之前经历过这个吗?我卸载了扩展并重新安装。
当我打开包管理器时,会弹出以下对话框“Microsoft Visual Studio 遇到问题,需要关闭”。
我正在运行 NuGet 1.6 和 VS2010 版本 10.0.40219.1 SP1Rel
提前致谢
更新:
我按照你的建议做了。我最终卸载了所有加载项并重新安装了 nuget。这是堆栈跟踪:
System.AccessViolationException:
{“尝试读取或写入受保护的内存。这通常表明其他内存已损坏。”}
堆栈跟踪:
在 EnvDTE.ProjectItem.get_Kind()
在 NuGet.VisualStudio.ProjectExtensions.GetProjectItem(ProjectItems projectItems,字符串名称,字符串种类)
在 NuGet.VisualStudio.ProjectExtensions.TryGetFile(ProjectItems projectItems, 字符串名称, ProjectItem& projectItem)
在 NuGet.VisualStudio.ProjectExtensions.GetProjectItem(项目项目,字符串路径)
在 NuGet.VisualStudio.VsProjectSystem.FileExistsInProject(字符串路径)
在 NuGet.VisualStudio.VsProjectSystem.FileExists(字符串路径)
在 NuGet.PackageReferenceFile.GetDocument(布尔 createIfNotExists)
在 NuGet.PackageReferenceFile.d__0.MoveNext()
在 NuGet.PackageReferenceRepository.d__0.MoveNext()
在 System.Collections.Generic.List1..ctor(IEnumerable
1 集)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 源)
在 NuGet.PackageRepositoryExtensions.d__29.MoveNext()
在 System.Collections.Generic.List1..ctor(IEnumerable
1 集)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 源)
在 NuGet.Dialog.Providers.UpdatesTreeNode.GetPackages()
在 NuGet.Dialog.Providers.PackagesTreeNodeBase.ExecuteAsync(Int32 pageNumber,CancellationToken 令牌)
在 NuGet.Dialog.Providers.PackagesTreeNodeBase.c_DisplayClass3.b_2(对象状态)
在 System.Threading.Tasks.Task`1.InvokeFuture(对象 futureAsObj)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
在 System.Threading.Tasks.Task.ExecutionContextCallback(对象 obj)
在System.Threading.ExecutionContext.Run(ExecutionContextexecutionContext,ContextCallback回调,对象状态,布尔ignoreSyncCtx)
在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(任务& currentTaskSlot)
在 System.Threading.Tasks.Task.ExecuteEntry(布尔 bPreventDoubleExecution)
在 System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在 System.Threading.ThreadPoolWorkQueue.Dispatch()
在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()