Compile razor views for middlewares in Microsoft.AspNetCore.Diagnostics netstandard library

217 views Asked by At

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?

1

There are 1 answers

1
sarvasana On

It is a .Designer.cs file. It is managed and generated by the IDE. You are not suppose to change it.