DotNet.ScriptVersion
1.0.0
dotnet add package DotNet.ScriptVersion --version 1.0.0
NuGet\Install-Package DotNet.ScriptVersion -Version 1.0.0
<PackageReference Include="DotNet.ScriptVersion" Version="1.0.0" />
paket add DotNet.ScriptVersion --version 1.0.0
#r "nuget: DotNet.ScriptVersion, 1.0.0"
// Install DotNet.ScriptVersion as a Cake Addin #addin nuget:?package=DotNet.ScriptVersion&version=1.0.0 // Install DotNet.ScriptVersion as a Cake Tool #tool nuget:?package=DotNet.ScriptVersion&version=1.0.0
This client library allow you to easy include scripts and styles and forces them to refresh at every new publication.
How to use:
Example bundles:
Use: @Html.RenderJs("/bundles/scripts") instead @Scripts.Render("/bundles/scripts")
Use: @Html.RenderCss("/Content/css") instead @Styles.Render("/Content/css")
Example single file:
Use: @Html.RenderJs("/Content/global.js") instead <script type="text/javascript" src="/Content/global.js"></script>
Use: @Html.RenderCss("/Content/style.css") instead <link rel="stylesheet" href="/Content/style.css" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.Mvc (>= 5.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,873 | 12/17/2017 |