1

I have created a blank .NET Core 2.2 project and immediately published it. This is my published content:

enter image description here

If I now add the following into my .csproj:

<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>

Then publish again, I get the following published content:

enter image description here

I cannot find an explanation anywhere for what the difference is between WebApplication3.Views.dll and WebApplication3.PrecompiledViews.dll. They both look like a library of precompiled views to me. If that's the case, what's the point of the config setting?

Murphybro2
  • 2,207
  • 1
  • 22
  • 36

0 Answers0