MSBuild target to statically compile .cshtml files on build of your project and then provide the code to render them at runtime.
Info
Version: | 0.3.1 |
Author(s): | Robert Moore, Matt Davies, MRCollective |
Last Update: | Sunday, April 19, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/MSBuildRazorCompiler |
Install
Install-Package MSBuildRazorCompiler
dotnet add package MSBuildRazorCompiler
paket add MSBuildRazorCompiler
MSBuildRazorCompiler Download (Unzip the "nupkg" after downloading)
Dependencies
- RazorLight(>= 2.0.07)
- ILRepack.MSBuild.Task(>= 2.0.13)
- Microsoft.AspNetCore.Mvc.Razor.Extensions(>= 3.1.3)
- Microsoft.AspNetCore.Razor.Language(>= 3.1.3)