?
Solved

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

Posted on 2013-06-14
3
Medium Priority
?
246 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 1500 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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…
Suggested Courses

801 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