Skip to content

Conversation

@pranavkm
Copy link
Contributor

@pranavkm pranavkm commented Aug 6, 2021

This is a port of dotnet/sdk#19094 to 5.0 that changes the RazorSDK to use the in-box
compiler when building 2.1 apps.

Description

2.1 shipped a Razor compiler as a package which was referenced by ASP.NET Core MVC apps by default. This package contained a 2.1 binary that required the 2.1 .NET runtime. As part of our 2.1 EOL work, we updated the 6.0 SDK to instead use the Razor compiler that is carried in the SDK. This PR ports the change to the 5.0 Razor SDK.

Customer Impact

Our 6.0 verification confirmed that the compiler in the SDK is highly compatible with the 2.1 compiler and users should be able to upgrade without issues.

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

While we performed manual testing and have automated test to cover this scenario, it's possible there are some scenarios that the compiler's behavior has changed since 2.1 that isn't easily evident through our testing.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Addresses #35118

@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 6, 2021
This is a port of dotnet/sdk#19094 to 5.0 that changes the RazorSDK to use the in-box
compiler when building 2.1 apps.
@pranavkm pranavkm force-pushed the prkrishn/21-compiler branch from cd9ba96 to 8d8431a Compare August 6, 2021 20:56
@pranavkm pranavkm requested a review from a team August 6, 2021 21:52
@pranavkm
Copy link
Contributor Author

pranavkm commented Aug 6, 2021

Port of dotnet/razor#4038 for 5.0

@mkArtakMSFT mkArtakMSFT added the Servicing-approved Shiproom has approved the issue label Aug 6, 2021
@mkArtakMSFT mkArtakMSFT added this to the 5.0.x milestone Aug 6, 2021
@mkArtakMSFT mkArtakMSFT merged commit 413d3ab into release/5.0 Aug 7, 2021
@mkArtakMSFT mkArtakMSFT deleted the prkrishn/21-compiler branch August 7, 2021 03:02
@Pilchie
Copy link
Member

Pilchie commented Aug 24, 2021

Can we update the milestone of this to indicate where it's shipping? I expect that 's 5.0.11

@pranavkm pranavkm modified the milestones: 5.0.x, 5.0.11 Aug 24, 2021
@mkArtakMSFT mkArtakMSFT modified the milestones: 5.0.11, 5.0.10 Aug 31, 2021
@mkArtakMSFT
Copy link
Contributor

Moved this to 5.0.11, as this has missed the September release train.

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 Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants