Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0: Deprecating MvcPrecompilation tool #315

Open
pranavkm opened this issue Aug 22, 2018 · 0 comments
Open

3.0: Deprecating MvcPrecompilation tool #315

pranavkm opened this issue Aug 22, 2018 · 0 comments
Labels
3.0.0 Announcements related to ASP.NET Core 3.0 Announcement Breaking change Documented The breaking change has been published to the .NET Core docs Migrated
Milestone

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Aug 22, 2018

In ASP.NET Core 1.1, we introduced the Microsoft.AspNetCore.Mvc.Razor.ViewCompilation (MVC precompilation tool) package that added support for publish time compilation of Razor files (.cshtml files). Starting in ASP.NET Core 2.1, we introduced the Razor SDK that expanded on the features of the precompilation tool by adding support for build and publish time of Razor files. The SDK allows for verifying the correctness of cshtml files at build time while also improving on startup time for applications. The Razor SDK is on by default and no gesture is required to start using it.

In 3.0, we plan to remove the earlier MVC precompilation tool. Earlier versions of the package will continue receiving important bug and security fixes as part of our patch release.

For users of ASP.NET Core 2.1 or later, we recommend migrating to the Razor SDK if you haven't already. If you're currently using the precompilation tool and are unable to migrate to the Razor SDK due to bugs or missing features, please file an issue at https://github.com/aspnet/Razor/issues.

Please use https://github.com/aspnet/Mvc/issues/8313 for discussions.

[This announcement has been migrated to: dotnet/docs#14961]

@pranavkm pranavkm added Announcement Breaking change 3.0.0 Announcements related to ASP.NET Core 3.0 labels Aug 22, 2018
@aspnet aspnet locked as resolved and limited conversation to collaborators Aug 22, 2018
@Eilon Eilon added this to the 3.0.0 milestone Feb 20, 2019
@scottaddie scottaddie added the Documented The breaking change has been published to the .NET Core docs label Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.0.0 Announcements related to ASP.NET Core 3.0 Announcement Breaking change Documented The breaking change has been published to the .NET Core docs Migrated
Projects
None yet
Development

No branches or pull requests

5 participants