Update UmbracoProject.csproj (#12164)

* Update UmbracoProject.csproj

Changing the comment would make the intent of the comment more clear, as you cannot use InMemoryAuto on compiled Razor views, but you're still allowed to keep it as false if you're using a different ModelsBuilder mode.

* Update UmbracoProject.csproj

Hoping this kicks off the PR checks...
This commit is contained in:
Corné Hoskam
2022-03-27 23:32:23 +02:00
committed by GitHub
parent 538fb173c2
commit b594936463

View File

@@ -31,7 +31,7 @@
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
</PropertyGroup>
<!-- Set this to true if ModelsBuilder mode is not InMemoryAuto-->
<!-- Keep this as false if ModelsBuilder mode is InMemoryAuto -->
<PropertyGroup>
<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>false</RazorCompileOnPublish>