• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

How to tell if Visual Studio 2012 is using a referenced script

I've inherited a file that contains references to external JavaScript files.
Is there a way I can tell if they are actually being used by the project?  I've commented them out and everything still seems to work, but I know that the minute I make it go live it will break....
  • 2
1 Solution
GenericCogAuthor Commented:
I should have specified that this is an MVC4 project using Visual Studio 2012.
Your suggestion to use WARI (Web Application REsource Inspector) does not fit my requirement.
Kyle AbrahamsSenior .Net DeveloperCommented:
It shouldn't matter.  It's going to crawl the website to find any unused calls to javascript, the only gotchya is that it's not looking at server side code to determine any dynamic calls.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now