{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2295","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2295/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2295/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2295/events","html_url":"https://github.com/aspnet/Mvc/issues/2295","id":65310330,"number":2295,"title":"[Script+Link TagHelpers] asp-file-version makes the src file locked","user":{"login":"ianhong","id":2746184,"avatar_url":"https://avatars.githubusercontent.com/u/2746184?v=3","gravatar_id":"","url":"https://api.github.com/users/ianhong","html_url":"https://github.com/ianhong","followers_url":"https://api.github.com/users/ianhong/followers","following_url":"https://api.github.com/users/ianhong/following{/other_user}","gists_url":"https://api.github.com/users/ianhong/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhong/subscriptions","organizations_url":"https://api.github.com/users/ianhong/orgs","repos_url":"https://api.github.com/users/ianhong/repos","events_url":"https://api.github.com/users/ianhong/events{/privacy}","received_events_url":"https://api.github.com/users/ianhong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T21:53:44Z","updated_at":"2015-03-30T21:53:44Z","closed_at":null,"body":"For example, in the following codes, asp-file-version=\"true\" locks down ~/js/Alert.js. So, users cannot modify Alert.js without killing the host process like IIS. \r\n\r\nThis is because Alert.js was not released properly once asp-file-version is set to true. @sornaks knows how to fix this. \r\n\r\nWith this bug, asp-file-version is not useful since users should restart IIS every time to release the file. \r\n\r\nThanks,\r\nYoungjune \r\n\r\n@addTagHelper \"*, Microsoft.AspNet.Mvc.TagHelpers\"\r\n<html>\r\n<body>\r\n    <script src=\"~/foo.js\" asp-fallback-test=\"false\" asp-fallback-src=\"~/js/Alert.js\" asp-file-version=\"true\">\r\n    </script>\r\n</body>\r\n</html>\r\n"}}