必须在 UI 线程上调用 Visual Studio 2015 初始化部分 Nuget.PackageManagement.VisualStudio.VSolutionManager [英] Visual Studio 2015 Initializing Part Nuget.PackageManagement.VisualStudio.VSolutionManager must be called on UI Thread

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

问题描述

尝试在我最近更新的 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.

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

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆