Dec 24, 2015 #1 Blueie Technical User May 12, 2012 72 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
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
Dec 28, 2015 #2 jbenson001 Programmer Jan 7, 2004 8,172 US look at the code that is referencing that file make sure you have the correct relative path, or absolute path Upvote 0 Downvote
look at the code that is referencing that file make sure you have the correct relative path, or absolute path
Dec 30, 2015 #3 OliverHamou Programmer Nov 3, 2002 1 FR 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 Upvote 0 Downvote
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