Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Remove runtime compilation from MVC.Razor #8755

Merged
merged 4 commits into from
Nov 22, 2018

Conversation

pranavkm
Copy link
Contributor

No description provided.

Copy link
Contributor

@dougbu dougbu left a 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 of consts that duplicate values

}

var basePath = "/";
Debug.Assert(!string.IsNullOrEmpty(path));
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor Author

@pranavkm pranavkm left a 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

@pranavkm
Copy link
Contributor Author

pranavkm commented Nov 22, 2018

🆙 📅

@pranavkm pranavkm force-pushed the prkrishn/no-runtime-compilation branch from 0a977d8 to fe1f9fb Compare November 22, 2018 00:43
@pranavkm
Copy link
Contributor Author

🆙 📅

@pranavkm pranavkm merged commit f80490f into master Nov 22, 2018
@pranavkm pranavkm deleted the prkrishn/no-runtime-compilation branch November 22, 2018 01:14
@pranavkm
Copy link
Contributor Author

cc @natemcmaster \ @ryanbrandenburg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants