Skip to content

Commit

Permalink
Razor compilation on publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 25, 2021
1 parent 9ede0fe commit 6ccdf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RazorTemplate/RazorTemplate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net5</TargetFramework>
<!-- Disabling pre-compilation is required for advanced features like: https://docs.servicestack.net/netcore-razor#page-based-routing-in-razor -->
<RazorCompileOnPublish>false</RazorCompileOnPublish>
<RazorCompileOnPublish>true</RazorCompileOnPublish>
</PropertyGroup>

<Target Name="Bundle" BeforeTargets="BeforePublish">
Expand Down

0 comments on commit 6ccdf15

Please sign in to comment.