dotnet / razor

Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
https://asp.net
MIT License
493 stars 191 forks source link

Extensions refactor #10850

Closed chsienki closed 1 week ago

chsienki commented 3 weeks ago

Deletes code that was duplicated across the MVC3/2/1 extensions.

I made changes in fairly small grouped commits, so commit-by-commit might be easier. Almost all of them are just deletes though, with the exception of https://github.com/dotnet/razor/commit/712bd0d82a310f3407b0d3ee09b89a6a1384a0d6 which added a parameter to control the output for V1&2

At each commit I ran tests and verified everything was green. There is more code we can de-duplicate but the rest requires more involved parameters to control so I figured I would keep the diffs here dirt simple.

chsienki commented 3 weeks ago

@dotnet/roslyn-compiler for review please :)

chsienki commented 2 weeks ago

@dotnet/razor-compiler for a second review please :)