I am trying to build a new web form application whose master page will be based on Bootstrap framework,
so for that reason in the the bundleConfig.cs file I have written the following code
Furthermore in the Globax.asax.cs file I have created a new Script Manager definition by writting
ScriptManager.ScriptResourceMapping.AddDefinition("Bootstrap", new ScriptResourceDefinition
Path = "~/Scripts/bootstrap.min.js",
DebugPath = "~/Script/bootstrap.js",
CdnPath = "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.js",
CdnDebugPath = "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"
and in the master page in the Script Manager I have created rendered the following code:
<asp:ScriptReference Name="Bootstrap" />
However, when I run my project I receive the following error:
The name Bootstrap must end in .js. Do you know why? Do i have to create somewhere a WebResource that is named Bootstrap?
Thanks in advance
Based on this issue related to Asp.net, please ask for help from:
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.