MiniRazor.CodeGen 2.1.0

Suggested Alternatives


Additional Details

Use RazorBlade for build-time compilation and RazorLight for run-time compilation

There is a newer version of this package available.
See the version list below for details.
dotnet add package MiniRazor.CodeGen --version 2.1.0
NuGet\Install-Package MiniRazor.CodeGen -Version 2.1.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="MiniRazor.CodeGen" Version="2.1.0">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MiniRazor.CodeGen --version 2.1.0
#r "nuget: MiniRazor.CodeGen, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MiniRazor.CodeGen as a Cake Addin
#addin nuget:?package=MiniRazor.CodeGen&version=2.1.0

// Install MiniRazor.CodeGen as a Cake Tool
#tool nuget:?package=MiniRazor.CodeGen&version=2.1.0

Contains Roslyn source generator that transpiles Razor templates into C# classes

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on MiniRazor.CodeGen:

Package Downloads

Portable Razor compiler and code generator


Simple folder indexer with html ouput


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.2 2,294 9/13/2022
2.2.1 8,422 3/25/2022
2.2.0 5,600 10/7/2021
2.1.4 2,883 7/19/2021
2.1.3 585 7/19/2021
2.1.2 17,228 3/22/2021
2.1.1 619 3/22/2021
2.1.0 582 3/22/2021