[Archived] Parser and code generator for CSHTML files used in view pages for MVC web apps. Project moved to https://github.com/aspnet/AspNetCore
883
stars
226
forks
source link
Running rzc without build server does not include errors #2733
Closed
pranavkm closed 5 years ago
dotnet build /p:UseRazorBuildServer=false
Expected: Shows parser diagnostics
Actual: A failure exit code without any parser diagnostics.
The bug's here: https://github.com/aspnet/Razor/blob/master/src/Microsoft.AspNetCore.Razor.Tools/Program.cs#L44-L47. In the Server equivalent, the command returns the output to the caller which is printed to the output. This is missing in the standalone case.