Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

06:22:06.9093: Referenced file '~/Scripts/_references.js' not found.

Status
Not open for further replies.

Blueie

Technical User
May 12, 2012
72
0
0
GB
Hello

I am getting an odd message in Visual Studio 2013:

06:22:06.9093: Referenced file '~/Scripts/_references.js' not found.

I am, in fact, looking at that very file in Solution Explorer now.

How best to correct that message, please?

Thanks
 
look at the code that is referencing that file
make sure you have the correct relative path, or absolute path
 
Hello

You can use this tips on your webpage

Code:
<script type="text/javascript" src="<%# this.Page.ResolveUrl("~/js/jquery-1.8.2_min.js") %>"></script>

and in the behind you need to add this on the page load , to work well

Code:
protected void Page_Load(object sender, EventArgs e)
{
    this.Page.Header.DataBind(); // NOTE: this resolves any <%# ... %> tags in <head>
}

thanks
Oliver
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top