参考未在解决方案资源管理器中更新 [英] References not updating in Solution Explorer

查看:60
本文介绍了参考未在解决方案资源管理器中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过解决方案资源管理器为我的C#Windows项目添加了一些引用.当我尝试在另一台计算机上加载同一项目时,我在Visual Studio无法检测到的所有引用上看到一个黄色标记.因此,我安装了所有被引用的库,但Visual Studio仍未更新列表.它仍然显示黄色标记.为什么?

I had added some references to my C# Windows Projects through the Solution Explorer. When I am trying to load the same project on another machine, I see a yellow mark on all the references that Visual Studio is not able to detect. Therefore, I installed all the libraries that were being referenced, but still Visual Studio is not updating the list. It is still showing yellow mark. Why?

推荐答案

对我唯一有效的方法是关闭Visual Studio并重新加载解决方案.您可能会认为重建会执行类似的操作,但是Visual Studio的干净重启对于我来说很有效.

The only thing that worked for me was closing visual studio and reloading the solution. You would think rebuilding would perform similar actions but a clean reboot of visual studio worked for me.

这篇关于参考未在解决方案资源管理器中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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