Code coverage is showing 0 % but same code and settings. Earlier it was showing > 0 % value in code coverage in C# .net Framework 4.7.1

@Abhishek_Priyadarshy the following two guides would be a good place to start:

  1. the wiki page describing how code is classified as test or product code,

  2. the code coverage troubleshooting guide