I have a class library project which contains a java script file "libscript.js" which is located in the library/Resources/Scripts
folder.
I marked "libscript.js" file as an Embedded Resource from property window.
I also added the following line of code to assemblyInfo.cs:
[assembly: WebResource("Library.Resources.Scripts.libscript.js", "text/javascript")]
Finally, I referenced the library in my website project.
When I run the project on local machine, it works fine and javascript file was loaded correctly. Also when I create an application in IIS, it works fine.
But when i upload the project to the host, the script file is not loaded and not found!