DotNet.ScriptVersion 1.0.0

Install-Package DotNet.ScriptVersion -Version 1.0.0
dotnet add package DotNet.ScriptVersion --version 1.0.0
<PackageReference Include="DotNet.ScriptVersion" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNet.ScriptVersion --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNet.ScriptVersion, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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" />

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,150 12/17/2017