SpecFlow \ Solution Explorer file icons - visual-studio-2010

I can't get the icons to show up for SpecFlow files in the Solution Explorer. Everything else works fine. Any ideas?
This is for Visual Studio 2010.
Does anyone know how to edit the icons associated to a file extension in Solution Explorer?

Install Specflow's visual studio plugin http://visualstudiogallery.msdn.microsoft.com/9915524d-7fb0-43c3-bb3c-a8a14fbd40ee. You need this as well as the NuGet assembly if you are editing your features.

Related

Specflow - going from feature to steps fails

Since some days the feature files are broken.
VS2017:
Colors dissapeard, everything is white.
When I press F12 nothing happens.
When I run the test from solution explorer the tests work fine.
VS2015:
Everything works fine.
What I tried to do:
Option 1: Run Binding Tool
Right-click on the feature file
Select "Run Custom Tool"
This causes the SpecFlowSingleFileGenerator to regenerate the code-behind for your test framework.
Option 2: Restart Visual Studio
Close Visual Studio
Open Visual Studio
Reopen solution
This causes any bindings that haven't been cached to rerun.
Option 3: Clear SpecFlow Step Mapping Cache
Close Visual Studio
Open Windows Explorer
Type %TEMP% in Address Bar and hit Enter
Search for "specflow-stepmap-*.cache"
Delete those files
Open Visual Studio
Reopen solution
Option4: Uninstall and reinstall visual studio 2017
None of them fixes the issues for VS2017.
Some help is more than welcome.
I solved this issue by updating VS2017 to v15.6.1. Prior to that I've tried all the steps you mentioned and it did not work.
Also, found this article: https://github.com/techtalk/SpecFlow/issues/1049 which is saying the same.
These symptoms sound like you haven't installed Specflow extension on your VisualStudio 2017.
What happens when you dont have it is that VS can't work with feature files and can't navigate to anything when pressing F12.
Tests are working because VisualStudio executes already generated NUnit tests from feature.cs files.
Double check your VisualStudio Tools -> Extensions And Updates -> Check in Installed if you have Specflow for Visual Studio 2017 installed and Enabled.
Note: Each time you install a new Visual Studio you have to install the extension.
Came across the same issue, installed Specflow for Visual Studio 2017 from Tools >> Extensions And Updates and found as working fine.
Go the colours for feature file lines back and F12 is working fine.
Thanks.

Is it possible to change icons in Visual Studio 2015?

I've downloaded VS2015 CTP6 release.
Is there any way to replace VS2015 solution explorer's icons with VS2010 ones? :(
PS: yep, I hate new UI design ideology. My fav is Win7 Crystal style.=)
Solutions from here don't work
Is it possible to change icons in Visual Studio 2012?
http://computerbeacon.net/blog/visualstudio2010iconsandt
You can change the Shortcut icon: https://visualstudioextensions.vlasovstudio.com/2015/12/02/on-changing-visual-studio-2015-icon/
If you want to customize the icon in Solution Explorer, you need to write a VS Extension.

Project Not Loading in Visual Studio 2010

I recently installed the Windows Phone 7 SDK that came bundled with Visual Studio 2010 Express for Windows Phone. I downloaded a sample app and tried to open the solution file. When I checked the solution view window, the app project was not loaded. Every time I tried to reload the project, it flash as available for a moment and then go back to being unavailable. I tried all the usual tricks like removing source control from the .csproj and deleting the .user and .suo files. Any ideas?
Ok I figured it out. When I open the solution file, it opens in Visual Studio 2010 Shell. What I needed to do was to go to Visual Studio 2010 for Windows Phone, open existing project, and then browse to the solution file and open it. Sorry for the confusion everyone!

Visual Studio 2010 - Silverlight 4 templates missing, how to redownload them?

I am missing the silverlight 4 templates for Visual Studio 2010. devenv /installvstemplate doesn't work because the actual files are missing, and the specific one I want (User Control) doesn't show up in the list of online templates. I've already tried the solutions in Missing Project/Item Templates.
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ does not contain any project templates or item templates.
I've already tried uninstalling and reinstalling all Silverlight components and tools I'm using.
Is there any way to just download the templates directly and put them in that folder?
I went to the windows control panel, Programs and Features, and did a re-install of Visual Studio (VS lets you do that without having to uninstall and lose all your settings). After that, I re-instaled all the silverlight components I'm using. The templates are available now.
This helped me: http://chiragrdarji.wordpress.com/2008/05/06/missing-templates-in-visual-studio-installed-templates/
If you Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv /installvstemplates
Press Enter

Visual Studio 2010 package did not load correctly for uninstalled extesions

During visual studio startup I get lots of annoying dialogs about extensions package loading errors.
All the extensions that fail to load are those I uninstalled.
I checked all the places mentioned in this article (Bootstrapping of VS packages and VSIX extensions in VS2010) and none of the extensions I get error for is there.
Is there somewhere else I can check?
I would "just" like to see where visual studio finds these references and kindly delete them all :)
I found this folder in the windows registry:
HKEY_USERS\S-1-5-21-3990449039-760197492-1239349315-1121\Software\Microsoft\VisualStudio\10.0_Config\Packages
It contains all the reference to extensions visual studio tries to load (mostly pointing to HKEY_USERS\S-1-5-21-3990449039-760197492-1239349315-1121\Software\Microsoft\VisualStudio\10.0_Config\InstalledProducts subfolders).
I just renamed the folder of the extensions I did remove and I do not see load errors anymore.
I'm sure this could cause some side effects so is anyone aware of a better way to avoid visual studio trying to load uninstalled extensions?
This is the correct answer:
Close Visual Studio.
Backup, and then delete Visual Studio's AppData folder. For example:
Visual Studio 2010:
%AppData%\..\Local\Microsoft\VisualStudio\10.0
Visual Studio 2012:
%AppData%\..\Local\Microsoft\VisualStudio\11.0
Visual Studio 2013:
%AppData%\..\Local\Microsoft\VisualStudio\12.0
Restart Visual Studio and enjoy.
I had a problem like this after upgrading SmartBear AQTime where I removed IDE integration (which doesn't work well anyway, may as well run standalone). VS2010 complained no startup about packages which didn't load correctly.
I actually deleted the contents of
AppData\Local\Microsoft\VisualStudio\10.0\Extensions
and this fixed things entirely.
I encount this problem after removing devexpress from my computer,and I cleaned the registries yesterday,then I delete the devenv.CTM file in
%AppData%..\Local\Microsoft\VisualStudio\10.0\1033 file and restart my VS, it works!

Resources