I'd like in an .cshtml page, insert an .js page.
I tried this :
<script src="@Url.Content("~/Scripts/MyFile.js")" type="text/javascript"></script>
No problem with the same code in the shared/_layout.cshtml (in the header section)
When I execute the application, this file is not present in the source code (not include).
Any idea ?
Thanks,