How do you fix specfloW
Report problems
VS
Suggest the Future
A couple members of our team have an item in Test Explorer labeled <Unknown Project> with old tests listed under it. The entire hierarchy is grayed out and we cannot figure out how to get rid of them. Here’s an example of what I did in an attempt to clean them up:
- Open Solution in Visual Studio. (solution has 7 projects plus 7 xUnit Test projects)
- Build >> Clean Solution
- Open Test Explorer window and note that I have <Unknown Project> with 2 tests
- Close Visual Studio
- Using Explorer, find and delete all “bin” and “obj” folders from each project folder
- Open Solution in Visual Studio
- Open Test Explorer window and note that I have <Unknown Project> with 64 tests
- Build >> Build Solution
- Open Test Explorer window and note that I have <Unknown Project> with 2 tests
- Run all tests
- Tests under <Unknown Project> don’t run and are gray. One test shows as pass, the other as fail but this seems like the result of the last successful run of tests.
Another developer has a slightly different set of tests listed under <Unknown Project>. We do have one test in common, bit the rest are different.

Comments
Post a Comment