Visual Studio 2010 "Solution platforms" popup missing - visual-studio-2010

I'm getting a weird problem with Visual Studio 2010 Premium. I use two PCs, on the first there is no problem on the second the "Solution Platforms" popup menu disappeared, the configuration is the same (Windows 7 x64). The problem occured when I opened a project from a mercurial repo, I was not able to restore the popup. I reset the Visual Studio settings and done a Repair from the installer. No change. If I create an blank project (framework 2.0, 3.0, 3.5, 4.0) the "Solution Platforms" popup is still missing.
Also if I change the target platform with Build --> Configuration Manager there is no effect on the build (no compilation for x86 for example).
Any ideas (no full reinstallation please ) ?
thank you.
ps : Screenshot of the bug
André

Try the following:
From the list, select "Customize..."
On the screen that appears, click the
"Add Command..." button.
Select "Build" from the Categories
list, then scroll to "Solution
Platforms" in the Commands list and
click "OK"
Close the dialog and check your list, it should now be available.

The accepted answer is the wrong way to restore the platforms combobox. What you should do is find the little dropdown menu next to the configuration combobox and choose "Add/Remove buttons" From that list, check "Solution Platforms" and everything will be in its rightful place :)

Related

"Select Startup Item" command / drop-down not showing on Standard toolbar in Visual Studio

Up until recently I could select the startup project (equivalent to right-clicking on the project in the solution explorer and choosing "Set as Startup Project") from the Standard toolbar with the "Select Startup Item" drop-down. Now it's gone, yet the item is still checked under "Add or Remove Buttons".
The closest reference I could find is this, but the solution doesn't match my situation because I have more than one project and this is happening no matter which solution is loaded.
Please help me figure out what is going on.
I had a similar issue where the start menu item (called "Debug Target") was completely gone. Toggling the menu item on and off did not resolve the issue. I selected "Reset Toolbar" at the bottom of the menu and that resolved the problem for me. May require some manual set up after if your menu is heavily customized. But if you use the Standard layout it shouldn't be an issue.
I had the same problem. The "Startup Projects" drop-down disappeared occasionally. It was probably caused by installing/uninstallin/updating VS extensions.
The solution was easy. Install free extension Clear MEF Component Cache. Then simply click the Clear MEF Component Cache in the Tools menu. The toolbar should be repaired after restating Visual Studio.
This solution does NOT reset any of your UI customizations.
Open the "Add or Remove Buttons" dropdown in the section with the "Start" button, deselect "Startup Projects" and close all Visual Studio windows. Open a new instance of Visual Studio and re-enable "Startup Projects." It should show up for you then.

VS -TFS bug_ Not show dropdown menu "View history" of solution in Solution Explorer

Can someone help me with that bug in Visual studio with Team Foundation Server?
The dropdown menu "View history" didn't show in "Solution Explorer" (image below).
But sometimes, when I click at "Check in" to solution (then may either cancel or check in), then comeback to dropdown menu, it magically appear (sadly sometime it not).
So almost everytime, I must go to "Team Explorer" and navigate to "Source control Explorer" to View history of my solution. These actions take time, and make me frustrated too.
Thank you for any help, or alternative method!
P/S: I met it in all VS2013 and VS2015.
Image when menu is disappear (almost everytime):
And appear after checking in all solution (rarely):
I couldn't see this issue with my TFS 2015.3 + VS 2015.3. You would have to check history in Source Control Explorer, or use History Command to display the history: https://msdn.microsoft.com/en-us/library/yxtbh4yh(v=vs.100).aspx.
If possible, I'd like to suggest you upgrade your TFS, I couldn't see this issue in both TFS 2013 and TFS 2015.

Visual Studio 2013 "Show All Files" button is missing

By default Visual Studio organizes my project like this:
However, this view is confusing to me from an organizational perspective as "Source Files" and "Header Files" appear to be folders but are not actual folders on the disk. I read online that there is supposed to be a "Show All Files" button on the Solution Explorer that changes this view but none of my buttons seemed to be labeled that. How can I enable the "Show All Files" view? Sorry if I'm missing something obvious, I'm new to using Visual Studio.
It turns out the issue was that the "Show All Files" button does not appear if you are selecting the Solution itself. If you select an underlying Project, or any of the folders/files in the project, the button will display:
And here is the Solution Explorer view after clicking the button:
Note: see also this post for a solution for Visual Studio 2012, which didn't solve my problem but is closely related.
It didn't work for me, but if it's all about including an existing file to the project, you can copy the file or folder from the Explorer and right click the parent folder (the same folder it exists in) in Visual Studio Solution Explorer and click paste.

Visual Studio 2010 - "Add As Link" option not visibile

I'm currently working on a solution which involves 2 projects that share some of the same code. However, when I right click on a project and select "Add->Existing Item", I no longer get the "Add As Link" option on the "Add" drop down button.
I am using Visual Studio 2010 Express in Window 7 on a 64bit machine and have done this before on Windows XP 32bit. I'm not quite sure why it isn't showing anymore.
You might want to take a look at What happened to the "add as link" option?
To make a long story short, this option is (normally) only available for managed projects. Can you confirm that your current project is not a managed one ?

Solution Folder Not Showing in Visual Studio 2010 - How Can I Make It Visible?

I created a new Blank Solution in Visual Studio 2010, then I did an Add New Project, and the Solution node no longer shows in the Solution Explorer.
Further, when I try to do a second Add New Project, I get the error:
Cannot add the item because the item to add it to is not a solution folder or the solution.
What happened to the Solution node?
Where is it, so that I can highlight it and add a second project to my solution?
Tools, Options, Projects and Solutions, check "Always show solution"
Trivial update:
I'm on Visual Studio 2010, Ultimate edition. Windows 2008 R2, Enterprise edition, SP1. My guess the difference between #arrocharGeek screenshot and mine is I turn off all the vista/win7/2008r2 eye candy to make it look "normal."
You need to show the solution as follows:
Navigate to Tools | Options
Check the "Show all settings" checkbox in the bottom left of the Options dialog
Navigate to the "Projects and Solutions" | "General" section
Check the "Always show solution" checkbox
The "Solution solution-name (n projects)" will now show, and you can highlight that node to Add New Project from there.
Trivial Update: My VS 2010 is SP1Rel, and I am on Win7 Enterprise SP 1:
In order to view Solution explorer. Go to View > Solution explorer.
Or press Ctrl+Alt+L.
And solution window will appear.

Resources