Refresh button in Visual Studio Solution Explorer not working

送分小仙女□ 提交于 2019-11-27 12:07:05

问题


Just got Visual Studio Express 2012 for Windows Desktop and finding myself overly annoyed that the Solution Explorer doesn't accurately reflect the state of my project. I keep clicking Refresh, but it doesn't actually do anything. Microsoft's rather, uh, verbose explanation of how to use it was no help. Oddly enough, my project does refresh sometimes, but I can't figure out what the cause is. It's definitely not the refresh button.

Here's what my Solution Explorer looks like right now:


I've deleted a lot of these classes. Things like "Term" are what I typed while in the process of naming a class, but the Solution Explorer shows them as separate classes. Also some of the classes I have aren't showing up.

This whole thing is really messed up, and I'm having trouble visualizing what my project looks like because Solution Explorer doesn't show an up-to-date outline of my classes.

How do I refresh the Solution Explorer?


回答1:


There's a "show all files" button in the top row of Solution Explorer. Click that and you should see your missing files/folders. Right click and choose "Include in Project".




回答2:


Choose the project where you deleted the file and than click on show all files

Now you will get excluded/Removed files

Right Click > include in project.




回答3:


There is a refresh icon option in the top row of solution explorer.



来源:https://stackoverflow.com/questions/14815786/refresh-button-in-visual-studio-solution-explorer-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!