Skip to content

Commit e786491

Browse files
authored
Added CopyRazorGenerateFilesToPublishDirectory to the template (#11301)
1 parent 2a29cdc commit e786491

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/templates/UmbracoProject/UmbracoProject.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
<Compile Include="umbraco/models/**" Exclude="**/*.flag" />
3737
</ItemGroup>
3838

39+
<PropertyGroup>
40+
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
41+
</PropertyGroup>
42+
3943
<!-- Set this to true if ModelsBuilder mode is not InMemoryAuto-->
4044
<PropertyGroup>
4145
<RazorCompileOnBuild>false</RazorCompileOnBuild>

0 commit comments

Comments
 (0)