本文介绍了Visual Studio 2015 初始化部分 Nuget.PackageManagement.VisualStudio.VSolutionManager 必须在 UI 线程上调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我最近更新的 Visual Studio 2015 14.0.25431.01 Update 3 中尝试构建或打开项目时,我不断收到有关 nuget 包管理的错误.每当我在打开 VS 后第一次构建项目时,都会收到以下错误消息.当我尝试打开 nuget 包管理器对话框时,我也得到了它.还有其他人遇到过吗?

While attempting to build or open a project in Visual Studio 2015 14.0.25431.01 Update 3 which I recently updated, I keep getting errors around nuget package management. Whenever I build the project the first time after opening VS, I get the error message below. I also get it when I try to open the nuget package manager dialog. Anyone else experience this?

An exception was thrown while initializing part
"Nuget.PackageManagement.VisualStudio.VSolutionManager".
GetFullVsVersionString must be called on the UI thread.

推荐答案

它似乎在 Extensions & 中重新安装 Nuget Package Manager for Visual Studio工具对话框可能已修复它.

It appears reinstalling Nuget Package Manager for Visual Studio in the Extensions & Tools dialog may have fixed it.

这篇关于Visual Studio 2015 初始化部分 Nuget.PackageManagement.VisualStudio.VSolutionManager 必须在 UI 线程上调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:12