what is {version} in ScriptBundle(“~/scripts/jquery-{version}.js”)

自闭症网瘾萝莉.ら 提交于 2019-12-04 23:01:59
Matt

See the answers to this question.

Also, check out this link. The Bundling and Optimization section discusses the use of the {version} tag.

It allows you to indicate a version number format (semver) that many libraries use. For example, you reference jquery-1.9.1 and then it goes to jquery-1.9.2. Using {version} you don't have to change your code, you just need to re build the bundle.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!