DotNet.ScriptVersion 1.0.0

.NET Framework 4.5
dotnet add package DotNet.ScriptVersion --version 1.0.0
NuGet\Install-Package DotNet.ScriptVersion -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#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

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
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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