I'm using Visual Studio 2010 and sometimes in some of my projects, for reasons that are unknown to me, the "folders" displayed in the Solution Explorer change and I can never seem to change them back unless I create a new project and copy the files over.
I want the solution explorer to display "Header Files", "Source Files" and "Resource Files" instead of just "Debug".
Here's an image of what I want it to display like when I create a new project:
http://www.jumbala.net/VS2010_SE_HeaderSource.png
Here's what it displays sometimes:
http://www.jumbala.net/VS2010_SE_Debug.png
I looked in the menus and I couldn't find anything to change it back.
Edit: Someone posted that I had "Show all files" checked in the second image, but he/she deleted his/her post. So yeah, that's why it wasn't working. I feel like an idiot for not noticing, but I thought that button and the one on the left (which is 'Properties') were mutually exclusive and so I had tried pressing 'properties' but not 'show all files'.
Thanks whoever posted the answer and deleted it.
To fix this, just uncheck the "show all files" button that appears ticked in the second image.
Related
I have uninstalled Visual Studio Code, but the "open with code" option is still in my context menu when I right click a folder.
If I install VS Code again, it will keep the old option and adds a second entry which opens VS code.
This link will help you to modify registry.
Most of the menu items that used for all files and folders can be found at one of these keys:
HKEY_CLASSES_ROOT\*\shell
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\AllFileSystemObjects\ShellEx
I used ShellMenuView to find the offending records (there were several) and optionally disable them. You can then right click and select properties on the "Open with code" rows to find the registry paths. With that info I could delete the relevant keys from the registry manually. One was HKEY_CLASSES_ROOT\directory\shell\Ticino\Command but there were others.
Old question, but I got here searching for those exact terms.
You may also find right click options here:
HKEY_CLASSES_ROOT\Directory\Background\shell
HKEY_CLASSES_ROOT\Directory\shell\
You can also move them to shift+right click as per this answer: https://superuser.com/a/1332589
I made a mistake while using Team Server Foundation. I had requested a code review and also added myself as a reviewer so I could add comments on each file. Once finished, I closed the review without realizing it would close it for everyone else.
How do I re-open a closed review? All it gives me is grayed out text or no available actions anywhere I try to open it (Source Control Explorer, Team Explorer, and Web).
You can't but you can still view the review.
In visual studio, in the Team Explorer panel click on Pending Changes.
Click on Action and select Find Shelvesets.
Enter your username in the research box.
In the list click on the code review you want to open.
The view as change for the Shelvesets Details.
In the Related Work Items section. Open the work item for the review.
And there it is.
You cannot re-open a code review, you will need to create a new one.
I am using VS2010 SP1 and TFS Version 10.0.40219.417
Now what happens is that I attempt to type in a non-checked out file, and well, nothing happens. VS does not check out the file. I have to manually check out the file for check in.
It's happening with me only. On my colleague system it's working fine. I have cross checked all the settings he has done in his VS2010. Please suggest what should I do ?
You probably covered this in "I have cross checked all the settings", but I'm going to ask anyway.
From How to: Disable Automatic Checkouts
In Visual Studio, on the Tools menu, click Options.
In the Options dialog box, click Source Control, and then click
Environment.
In the On Edit box, select a different option than Check out
automatically. The other available options are as follows:
Prompt for check out
Prompt for exclusive checkouts
Do nothing
Click OK.
Do you have "Do nothing" checked?
EDIT:
If the above setting is correct the next thing I would double check is if the solution is "Online". I have lost the connection without realizing it several times, it is worth an extra check.
To check:
Right-click on the solution name at the top of the Solution
Explorer and check if you have the "Go Online" option
I was messing around with my toolbars and menus in Visual Studio 08. I noticed that they were behaving strangely. When I closed the "Customize" dialog, my 'Tools' and 'Help' menu were gone (perhaps more, I can't remember what else was there). I don't want to reset everything, as I have been curtailing the VS environment to my exact liking for over a year now, and I have never saved those settings. I have lots of custom commands quirk fixes all around. I don't relish starting over. I guess the lesson is that I should be saving my settings regularly.
Does anyone know how to get the menus back? I didn't even know it was possible to remove the actual menus (not toolbar items)!
Thanks,
Ryan
You could try exporting settings from a clean install, find the section with the menus and only import those? I believe the settings file is registered to visual studio so double clicking it should start the import process.
Not to mention, this would become good practice for exporting and backing up your own settings...
Try to right click on a toolbar click on Customize. Then you can select Menu Bar and click on reset. Not sure if it will work, but it's worth a try.
You can reopen the toolbar by going to "Window > Reset window layout".
I've only tested it with VS 2019.
BUT, IDK if that's what you're asking about...
I have a solution with about 20 projects (that use Devexpress controls) in and when I do a normal solution build (ctrl-shift-B) it says everything is completed sucessfully when in actualy fact it has done nothing. To get it to build i have to right click on the solution and use the batch build option.
I've tried deleting the solution and regetting from TFS and i've even gone as far as reinstalling VS!
Anyone got any clues as to what is going wrong?
Sorry should have added that also tried to build from the main menus aswell.
I've had similar issues. It's a long shot, but right-click your solution and go to Properties -> Configuration Properties. Check to make sure all of your projects have the "Build" option checked.
Perhaps Ctrl+Shift+B has been assigned to one of the "check-to-see-if-it-is-needed-before-building" type of functions?
Check in the keyboard setting:
Right-click the toolbar
Select Customize in the popup menu
Click the Keyboard button in the lower right corner of the dialog
In the new dialog, in the "Press shortcut keys", a bit to the right and below the center, hit Ctrl+Shift+B
Verify that it is bound to Build.BuildSolution
at least that is what it is bound to for me. I notice there is an action named Build.RebuildSolution as well, you should experiment.