Dec 24, 2015 #1 Blueie Technical User Joined May 12, 2012 Messages 72 Location 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 Joined Jan 7, 2004 Messages 8,172 Location 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 Joined Nov 3, 2002 Messages 1 Location 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