I've installed ReSharper 4.1 and Gallio 3.0.5, but I don't get the gutter icons for unit tests. The tests seem to run fine in the Test Explorer, but I don't have icons next to the tests in code. What could be causing this? I previously had the MbUnit 2.4 ReSharper plugin installed, but it should be uninstalled now.
问题:
回答1:
I did this to get them to show up again. Maybe it was an overkill.
- Uninstall ReSharper
- Uninstall Gallio
- Delete %appdata%\JetBrains folder
- Install ReSharper
- Start Visual Studio
- Close Visual Studio
- Install Gallio
- Start Visual Studio
I think the key was deleting the %appdata%\JetBrains folder, because there could have been some old plugin files in there.
回答2:
Maybe a bit long ago, but if someone stumbles on this question...
I had the same problem with Resharper 2016.2
Resharper -> Options -> Code Inspection -> Settings
In my case the project containing the unit test was listed in the "Files and folders" list under "Elements to skipp". After I had removed the project, the icon appeared again.
回答3:
I've had this issue a number of times when doing clean installs. Sometimes the gallio-resharper plugin installs perfectly, sometimes it does not. I tried the steps above to no avail.
I found this link: http://confluence.jetbrains.net/display/ReSharper/Deploying+plugin And did the following
- Created a Plugins folder in "C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\"
- Copied the resharper plugin files from GallioBundle-3.3.458.0.zip\bin\ReSharper into this folder
- Suspended and resumed resharper in Visual Studio 10 by using the button in Tools|Options|Resharper
After this, the plugin got enabled.
I am running W7x64 professional.
Hope this can be of help to other people as well. :-)
回答4:
Another really late answer here, but if you don't have Code Analysis enabled then the gutter icons won't show up. Had to help a teammate figure this out yesterday.
回答5:
Suspend and Resume Resharper may work. It was working for me.