Visual Studio's Folder View context menu - visual-studio

In Visual Studio 2017 it is possible to switch Solution Explorer into a folder view by pressing the Solutions and Folders button on the toolbar at the top. I want to add something to the context menu of the root folder in this view. I've been into 'Customize...' switched to the 'Commands' tab and am looking in the list under the 'Context Menu:' dropdown, but I can't figure out which menu it is?
Does anyone know?

Other Context Menus | Workspace Context Menu works for items in Solution Explorer's Folder View. I don't know how you could limit an entry to just the root folder.

Related

In Visual Studio 2019 - How do I add a 'New Textfile Item' shortcut into the solution explorer context menu?

I am wanting to add a new context menu item into visual studio's solution explorer context menu. As seen in the image below;
I want this context menu to create a new textfile. (Basically the same as Add -> New Item but configured as a new textfile)....
I see that you can add items to the context menu as seen in this post here: How to customize Visual Studio Solution Explorer right click menu options?
But I don't see a clear way to make it add a new textfile, only more basic options.
Alternatively, is there a shortcut I can use? I have tried the File-> New File -> TextFile option. But that will not add it to the solution's folder.

View of the resource tab in visual studio

I tried adding a resource to a project in visual studio 2015 community.
However the resource tab is blank. I know its supposed to look like the image below, but I don't have anything on the left. No application or settings. What went wrong?
enter image description here
Seems like you need to double click the properties folder in the Solution Explorer,
If you open the resources.resx folder Directly you wont see the toolbar on the left.
alternatively you can look at the properties tab at the bottom of the project Menu

Visual Studio 2012 "Show All Files" button missing

In my solution I have three projects: Console application, class library, and a website project.
The Show All Files button is visible on the console and class library project, but soon as I click on the website project the button disappears.
I am running Visual Studio 2012.
I just got the same problem "Solution Explorer toolbar missing" eg. "Show all files". Here's what I did:
Right click your "Solution".
Select "New Solution Explorer View". This will pop-up a new "Solution Explorer" window with toolbars in it.
Close you original "Solution Explorer" window.
Click on folder which must contain target file and Solution explorer properties will be changed. There you can find Refresh button and Show all files button.
Check this post:
Improved Solution Explorer in Visual Studio 2012 to Improve Productivity
"Show All Files" is not shown in a Web Site Project because it's not needed and all files are already shown in the Solution Explorer. I think that this behavior is the same for older versions of VS
In Solution Explorer, click on a project, and then the 'Show All Files' button will appear.
If you are in a WebSite project all files are shown by default. If there are some missing (added during debugging etc), just hit the refresh button on the top of the solution explorer and they should appear.
None of the above answers worked for me. If this is the case for you try right-clicking on any file in your project, then choosing "Show all files". The "Show all files" icon should now appear on this and all subsequent Solution Explorer windows.
YMMV, be kind. :-)
The "Show All Files" auto hides.
Click on the folder that has the hidden file, the button should show up.
By clicking on the project (the folder under the solution) the solution explore checks if all sub folders has hidden file, this will prompt the button to be revealed.
If you want to get Show all file menu just hide the solution explorer and open it fom view=>Other Windows=>Solution Explorer and clik it it will show all files menu
if you click on solution name in "solution explorer" maybe you will can't see "Show all files" button. because maybe added F# or website project in solution.
if you want see "Show all files" button, you must click on project name which is C# or native C++ or C++.net.
try to open any file use ctrl+alt+a . once a file will open "show all" button will appear automatically.

Visual Studio 2010: Name of document tab context menu

Does anyone know the name of the context menu that you get when right clicking a document tab in Visual Studio 2010?
I want to add the "Close All Documents" command to it, but I cannot figure out which context menu it is in the customize dialog.
You can find that menu at Other Context Menus | Easy MDI Document Window.

how can I find the location of the solution/project on my harddrive in Visual Studio?

I want to know where the solution/project is stored on my hard drive.
I would have thought right clicking on the project from within Visual Studio would have the information on where it is stored on my hard drive, but it doesn't.
Click on the project itself in the solution explorer and in the properties window it lists the project folder.
Only works if you've actually saved the project though. I.e. newly created projects don't have a location.
Start up Visual Studio and go to Tools->Options.
In the dialog box that opens, make sure to check the box that displays "Show All Settings."
From there, you should find a setting called "Projects and Solutions" which will have the list of default locations for projects, templates, etc.
When you have loaded you project in Visual Studio select the solution in the Solution explorer window and then select Properties window. You will see "Path" in the Properties window which points to the actual file.
Open one of the files in your Solution and hover over the tab in the code window. The full path will show up in a tooltip.
You can also go to Window | Windows... which shows you full path to all open files.
One way is to select the project in the solution explorer and then click File / Save As or press F4 and view the 'Project Folder' property.

Resources