I have been working on a project and noticed that one of my Specflow Scenarios needed updating.
I updated the Specflow Scenario by splitting it into two different scenarios (one for an invalid test and one for a valid test).
After this I then regenerated the feature.cs file, cleaned and rebuilt the solution.
(I am using Microsoft Visual Studio Enterprise 2019 Version 16.4.1)
This is when the "unknown project" appeared in my Test Explorer that consists of one test... the one I have changed. It cannot be run, however it cannot be removed either.
Here is what I am seeing:
The only way I have been able to get rid of this, for a brief period at least, is by deleting my entire solution and then pulling it back down again, which is less than ideal.
Here is a list of what I have tried to resolve this;
Has anyone seen this before, or know how to fix this?
So after a day of trying to figure this out with my team we have finally resolved the issue.
The issue was caused by the cached (hidden) .vs file. When deleting this and restarting the solution the unknown project was gone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With