I want to add java script file as a embedded resource file and i followed instructions mentioned in Here
[assembly: System.Web.UI.WebResource("SampleControl.UpdatePanelAnimation.js", "application/x-javascript", PerformSubstitution = true)]
Once the file is generated in HTML file display this added javascript file as follows:
<script src="/ScriptResource.axd?d=lyBGZNf7CGO603CCJNN8yTrjkoAldyy52iy559T1liheYL57VNFeGimuj8ohz4WEtG3M7F5mpO883thOOPBBT8UuRhleAeRuCd6qODUlQGDXzJGW4TK9TYCIXV9igRZ2M5X_-hyrlo8u3Dz5IHY-Pg2&t=60342d3a" type="text/javascript"></script>
Instead of this dynamically generated name i need to add name something like this.
<script src="/ScriptResource.axd?d=UpdatePanelAnimation.js" type="text/javascript"></script>
How can i do this?
EDIT: My java script file is in separate project