NuGet软件包显示黄色感叹号 [英] NuGet package shows yellow exclamation mark

查看:1102
本文介绍了NuGet软件包显示黄色感叹号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚通过NuGet安装了一个软件包,但是它在我的解决方案资源管理器中显示了一个黄色的感叹号图标,请参见下面的屏幕截图.

I just installed a package through NuGet, but it shows a yellow exclamation mark icon in my Solution Explorer, see screenshot below.

为什么会发生这种情况,我该如何解决?

Why does this happen, and how can I resolve it?

推荐答案

很多时候,只是Visual Studio不同步.在许多情况下,关闭解决方案并重新打开将神奇地修复这些错误.很容易,它应该是您尝试的第一件事.

Many times it is just that Visual Studio is out of sync. Closing the solution and re-opening will magically fix these errors in many cases. It's easy enough that it should be one of the first things you try.

这篇关于NuGet软件包显示黄色感叹号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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