[Trimming] MVC #41767
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
linker-friendliness
Tracking linker friendliness
Priority:2
Work that is important, but not critical for the release
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
MVC should run in a trimmed app.
Note that trimming and MVC might not be compatible. In that case, projects should be correctly annotated. e.g.
MapControllers
has a[RequiresUnreferencedCode]
attribute on it and linker warnings are suppressed.Describe the solution you'd like
Shipping projects under https://github.com/dotnet/aspnetcore/tree/main/src/Mvc need to add support for trimming.
See https://github.com/dotnet/aspnetcore/blob/main/docs/Trimming.md for instructions
Known issues to resolve:
Tasks:
Additional context
No response
The text was updated successfully, but these errors were encountered: