I am trying to edit some parts of Microsoft.AspNetCore.Diagnostics library
But I cannot edit razor files like CompilationErrorPage.cshtml
Even after a solution or project compilation (command line & Visual studio GUI) the file CompilationErrorPage.Designer.cs does not change.
The only thing I have seen is that they use this tool
"tools": {
"RazorPageGenerator": "1.1.0-*"
}
And it is invoked during build process
Do you know what I missed?
It is a .Designer.cs file. It is managed and generated by the IDE. You are not suppose to change it.