Has anyone run into an error where their views are not being included in the published version of the site? It just started today, I did install the latest versions of .net on my computer on Friday, but the site as far as I know is still running in 6.
I added this <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory> to the csproj file and it has caused the views and view component views to all be created as files. NO idea what has caused this.
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
Please, sign in to be able to submit a new answer.