NuGet Crashes VS2010 Ultimate

The NuGet Package Manager resets my VS2010 Ultimate. Has anyone experienced this before? I uninstalled the extension and reinstalled.

When I open the package manager, the following dialog box appears: "Microsoft Visual Studio has encountered a problem and needs to close."

I am running NuGet 1.6 and VS2010 version 10.0.40219.1 SP1Rel

Thank you in advance

Update: I did what you suggested. As a result, I uninstalled all add-ons and installed nuget again. Here is the stack trace:

System.AccessViolationException: {"Attempted to read or write protected memory. This often indicates damage to other memory."}}

Stack trace:
in EnvDTE.ProjectItem.get_Kind ()

in NuGet.VisualStudio.ProjectExtensions.GetProjectItem (ProjectItems projectItems, String name, String)

in NuGet.VisualStudio.ProjectExtensions.TryGetFile (ProjectItems projectItems, String name, ProjectItem & projectItem)

in NuGet.VisualStudio.ProjectExtensions.GetProjectItem (project project, line path)

in NuGet.VisualStudio.VsProjectSystem.FileExistsInProject (line path)

in NuGet.VisualStudio.VsProjectSystem.FileExists (String path)

in NuGet.PackageReferenceFile.GetDocument (Boolean createIfNotExists)

in NuGet.PackageReferenceFile.d__0.MoveNext ()

in NuGet.PackageReferenceRepository.d__0.MoveNext ()

in the collection System.Collections.Generic.List 1..ctor(IEnumerable 1)

in System.Linq.Enumerable.ToList [TSource] (IEnumerable`1 source)

in NuGet.PackageRepositoryExtensions.d__29.MoveNext ()

in the collection System.Collections.Generic.List 1..ctor(IEnumerable 1)

in System.Linq.Enumerable.ToList [TSource] (IEnumerable`1 source)

at NuGet.Dialog.Providers.UpdatesTreeNode.GetPackages ()

in NuGet.Dialog.Providers.PackagesTreeNodeBase.ExecuteAsync (Int32 pageNumber, CancellationToken token)

in NuGet.Dialog.Providers.PackagesTreeNodeBase. <> c_DisplayClass3.b_2 (object state)

in System.Threading.Tasks.Task`1.InvokeFuture (Object futureAsObj)

in System.Threading.Tasks.Task.InnerInvoke ()

in System.Threading.Tasks.Task.Execute ()

in System.Threading.Tasks.Task.ExecutionContextCallback (Object obj)

in System.Threading.ExecutionContext.Run (ExecutionContext executeContext, ContextCallback callback, object state, logical ignoreSyncCtx)

in System.Threading.Tasks.Task.ExecuteWithThreadLocal (Task & currentTaskSlot)

in System.Threading.Tasks.Task.ExecuteEntry (Boolean bPreventDoubleExecution)

in System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()

in System.Threading.ThreadPoolWorkQueue.Dispatch ()

in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback ()

+2
source share

Source: https://habr.com/ru/post/988819/


All Articles