Search This Blog

Monday, 1 June 2020

Test Explorer (Visual Studio) shows 'Unknown Project'

Problem: Test Explorer (Visual Studio) shows '<Unknown project>'

 

Details: I created an class library project with Unit Tests project, and added a few unit tests. However, I have removed the failing test case from file but test explorer shows that Test Explore.


Solution

Steps as below

  1. Close Visual Sudio
  2. Go to project folder
  3. Find ".vs" folder. (Make sure your are also checking hidden item)
  4. Delete ".vs" folder.
  5. Good to go, Open visual studio, build and run project.



No comments:

Post a Comment

Creating a NuGet Package Feed to Host Artifacts

Step-by-Step Guide: Creating a NuGet Package Feed to Host Artifacts 🔹 Step 1: Create a C# Class Library and Generate NuG...

Recent Post