The default default action was changed from No to Content, as I understand it, to support publishing / deploying Visual Studio.
For a specific project, I do not use the Visual Studio Publish / Deploy method and should not be compiled from the command line.
Setting the build action for "Compilation" still seems to be compiling with the addition of the benefits of compile-time errors and warnings generated for any cshtml coding errors.
This seems like a huge advantage over common runtime errors.
If I changed the build action to Compile, does anyone know what problems I will run later?
Thank you very much..
edit: I'm not sure what future issues I might run into besides deploying VS or compiling on the command line, but for security, I went for the precompile option that marcind mentions in his comment. I marked this as the closest answer.
source share