-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove runtime compilation from MVC.Razor #8755
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- should remove
CompiledViewDescriptor.IsPrecompiled
property - where is
RazorProjectFileSystem
still used after this cleanup? that should be removed if possible - file an issue to remove
RazorPageDocumentClassifierPass
from Razor if that's now possible or use that class (as before) instead ofconst
s that duplicate values
src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RazorViewCompiler.cs
Outdated
Show resolved
Hide resolved
} | ||
|
||
var basePath = "/"; | ||
Debug.Assert(!string.IsNullOrEmpty(path)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't bother
private readonly DiagnosticListener _diagnosticListener; | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="RazorViewEngine" />. | ||
/// Initializes a new instance of the RazorViewEngine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't change this comment.
...osoft.AspNetCore.Mvc.RazorPages/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs
Show resolved
Hide resolved
test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageActionInvokerProviderTest.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file an issue to remove RazorPageDocumentClassifierPass from Razor if that's now possible or use that class (as before) instead of consts that duplicate values
The type is used by the Razor compiler, but cannot be referenced by Mvc
🆙 📅 |
0a977d8
to
fe1f9fb
Compare
test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageActionInvokerProviderTest.cs
Show resolved
Hide resolved
🆙 📅 |
No description provided.