Skip to content

Conversation

@pranavkm
Copy link
Contributor

Port of #37035
Fixes #35267

Description

As part of #35017, I had consolidated the DefaultViewCompiler and DefaultViewCompilerProvider types, largely as a clean up. The type DefaultViewCompilerProvider is looked up by the RuntimeCompilation package by name, and when making this change, this code was also updated.

However, we've had two reports so far of users trying to use an 5.0 or earlier version of the runtime compilation package with a 6.0 app. In this case, the lookup fails and the runtime compilation feature doesn't work as expected after this.

Customer impact

Users are unable to use a 5.0 version of our package in a 6.0 app. While we generally recommend against this, it's a fairly easy way to reinstate support this.

Testing

  • Manually tested with a 5.0 app.
  • Automated tests for 6.0 apps

Risks

n/a

As part of #35017, I had consolidated the DefaultViewCompiler and DefaultViewCompilerProvider
types, largely as a clean up. The type DefaultViewCompilerProvider is looked up by the RuntimeCompilation package by name, and when making
this change, this code was also updated.

However, we've had two reports so far of users trying to use an 5.0 or earlier version of the runtime compilation package with a 6.0 app. In this case, the lookup
fails and the runtime compilation feature doesn't work as expected after this.

Fixes #35267
@pranavkm pranavkm requested a review from javiercn as a code owner September 27, 2021 21:58
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Sep 27, 2021
@pranavkm pranavkm requested a review from a team September 27, 2021 21:59
@pranavkm
Copy link
Contributor Author

@Pilchie for 6.0 approval.

@Pilchie
Copy link
Member

Pilchie commented Sep 27, 2021

Approved for .NET 6 GA.

@pranavkm
Copy link
Contributor Author

@dotnet/aspnet-build are you able to merge this?

@dougbu
Copy link
Contributor

dougbu commented Sep 29, 2021

Yes but has it been approved for GA @Pilchie

@TanayParikh
Copy link
Contributor

Yes but has it been approved for GA @Pilchie

Yes
#37037 (comment)

@captainsafia
Copy link
Member

Merging on green build and tactics approval.

@dougbu
Copy link
Contributor

dougbu commented Sep 29, 2021

Sorry, I looked for the Servicing-approved label and didn't search all comments

@captainsafia captainsafia merged commit fb25f74 into release/6.0 Sep 29, 2021
@captainsafia captainsafia deleted the prkrishn/port-35267 branch September 29, 2021 19:59
@ghost ghost added this to the 6.0.0 milestone Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants