Find broken links in the project in Visual Studio

2

I have a web project in Visual Studio 2012 and would like to know if there was any way to scan the code for paths that are not correct and also to identify files that are not used.

For example, let's say in my aspx I have calls to css files:

<link href="css/base.css" rel="stylesheet" />
<link href="css/bootstrap2.css" rel="stylesheet" />
<link href="css/site.css" rel="stylesheet" />

But let's say that in the css folder there is no site.css file, I would like the application to inform me of this. And if there is any css file in this same folder but it has no reference anywhere in the code I would like to be alerted too.

Some plugin (extension) for VS or native way of doing this? Anyone who has ever used Resharper knows how to tell if it does that sort of scan?

    
asked by anonymous 13.07.2016 / 12:57

1 answer

-1

To check which files are not being used, there is (at least) this extension .

Regarding non-existent references, Resharper has this type of verification.

    
13.07.2016 / 13:02