Skip to content

Commit

Permalink
Added CopyRazorGenerateFilesToPublishDirectory to the template (#11301)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania authored Oct 6, 2021
1 parent 2a29cdc commit e786491
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/templates/UmbracoProject/UmbracoProject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<Compile Include="umbraco/models/**" Exclude="**/*.flag" />
</ItemGroup>

<PropertyGroup>
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
</PropertyGroup>

<!-- Set this to true if ModelsBuilder mode is not InMemoryAuto-->
<PropertyGroup>
<RazorCompileOnBuild>false</RazorCompileOnBuild>
Expand Down

0 comments on commit e786491

Please sign in to comment.