Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2013-06-14
3
243 Views
Last Modified: 2013-07-25
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....
0
Comment
Question by:GenericCog
  • 2
3 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39248110
0
 

Author Comment

by:GenericCog
ID: 39257072
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.
0
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39259629
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.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question