Solved

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

Posted on 2013-06-14
3
245 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
[X]
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
  • 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

724 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