There is no visual studio TEST in the main menu

After the update on visual studio 2013, update 4, the TEST parameter is missing on the screen, I thought that update 5 for Visual Studio would fix it, but this did not happen. "TEST" is missing in my settings, and I don't know why.

Missing test option

I tried resetting the settings, this does not help, resetting the settings:

enter image description here

I can not add the test through TOOLS โ†’ CUSTOMIZE โ†’ COMMANDS โ†’ ADD COMMAND, it is not there.

Skip test

+6
source share
4 answers

I don't know why, but uninstalling the Office Tools extension seems to fix it.

Edit: I tried to reproduce this error, I ran the VS2013.5 update and clicked the fix. The update took +5 hours, thought he was stuck. So I canceled it, canceled the cancellation. So I finished this process. Now I started a visual studio, and TEST is missing, basically my installation of a visual studio is corrupted, I think.

Edit: Found the culprit, it was Microsoft Intune Endpoint Protection installed on my computer. He basically scanned everything, and when the visual studio was updated and the files were written to disk, something went wrong and messed up my installation. I disabled it by excluding C:\* from the scan and performing VS2013.5 update and clicking repair. Now everything is all right.

0
source

Which edition of Visual Studio are you working in? Have you ever had a TEST menu?

Yes, I checked the tests before , I'm currently on Visual Studio 2013.5 - Premium Flavor

@OP replied:

I don't know why, but uninstalling the Office Tools extension seems to fix it.


I wanted to explain why the menu may be missing. One reason for this is to install another component for Visual Studio, such as Team Foundation Client, or in this case, the Office Tools extension. They can automatically select a different setting. To check if this is a problem:

In Visual Studio, choose Tools> Import And Export:

enter image description here

enter image description here

See how the project management options are selected, this is the wrong option if you are a developer .

enter image description here

To see the developer reset menu, reset, go back to the developer settings.

Link: http://blog.accentient.com/a-visual-studio-mystery-the-case-of-the-missing-menu-items/

+4
source

I had the same issue in the VS 2015 Update 2 community, and the culprit was apparently the AppInsights extension ( https://github.com/dotnet/roslyn/issues/11653 ). To provide some details:

  • The marked test menu is missing in the existing solution where I previously ran the tests
  • Made an empty test project, still no test menu
  • closed and reopened. Still not a test menu
  • An error was received that refers to C: \ Users {username} \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0 \ ActivityLog.xml
  • Last error in NullReferenceException in CodeLensIndicatorService
  • Googling, who found the link above by binding to this add-in.
  • turning it off, the problem is fixed, and the test menu does not appear, and I can run tests.

Forgive me if I regret a little, but if any VS command reads: under no circumstances should an add-in appear with the addition of a built-in menu. Since this is a bug caused by various add-ons, it is also a drawback in VS IMO, and it is not so easy for end users to connect points.

+1
source

Be that as it may, the parameters (the settings have the setting of menu items) for your visual studio. Or you can try reset. Only if this does not work, you can always customize your menu item. so Tool โ†’ Customize (by default the standard should be selected)

select the command tab and then the menu item. You can see options for adding commands. Under this, you can select a test to make sure that there is a validation option.

Also for testing a test case, you can always right-click on a class and run it.

Hey. Please try resetting all settings http://blog.accentient.com/a-visual-studio-mystery-the-case-of-the-missing-menu-items/

If not, then there is a workaround to add the settings http://blogs.msdn.com/b/visualstudioalm/archive/2012/09/11/visual-studio-2012-where-is-the-test-toolbar-couldn -t-find-it-anywhere.aspx

After closing visual instances of the studio and reopening.

0
source

All Articles