Ciupaz
Ciupaz

Reputation: 699

Check unused code in web application in Visual Studio 2019 Enterprise

is there a way (or a free plug-in) to check the never used code (in VB.NET in my case) in a ASP.NET web application (a web project, 2 class library and a web service)?

Thank you in advance.

Luis

Upvotes: 0

Views: 163

Answers (2)

Ciupaz
Ciupaz

Reputation: 699

enter image description here

I've got these results, but there is no voice "Unused Symbols".

What do you think?

Upvotes: 0

Always_a_learner
Always_a_learner

Reputation: 1304

ReSharper tool is having this capability to filter never used code. Refer Resharper article. follow below steps after plugged this tool:

  1. Right click on your solution
  2. Select "Find Code Issues".

Results should have an option "Unused Symbols".

it refers all classes and methods that are never used.

Upvotes: 1

Related Questions