Skip to content

Conversation

@pranavkm
Copy link
Contributor

@pranavkm pranavkm commented Nov 17, 2020

For 5.0, we made a change to exclude .Views.dll from the single file bundle as a reaction
to changes in bundling. However the SDK change also applied to .NET 3.1 apps. This change
limits the exclusion to 5.0 and newer apps.

Adding a test for this is tricky since it requires publishing with a RID which in turn requires a restore as part of the test (something we've actively avoided due to time outs). I was able to manually test this change though.

Fixes #27831

Summary

For 5.0, we made a change to exclude .Views.dll from the single file bundle as a reaction to changes in bundling. However the SDK change also applied to .NET 3.1 apps. This change limits the exclusion to 5.0 and newer apps. While the current change is not breaking in anyway, it was considered an annoyance that we would like to address.

Customer impact

Using a 5.0 SDK results in additional files in 3.1 ASP.NET Core apps with single file publishing.

Regression

Yes

Risk

Low. It's a SDK specific change to limit the change to 5.0 or newer apps. In general, we're not aware of too many customers using single file publishing with 3.1 aspnet core apps so we expect the impact to be very limited.

For 5.0, we made a change to exclude .Views.dll from the single file bundle as a reaction
to changes in bundling. However the SDK change also applied to .NET 3.1 apps. This change
limits the exclusion to 5.0 and newer apps.

Fixes #27831
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Nov 17, 2020
@pranavkm pranavkm changed the base branch from master to release/5.0 November 17, 2020 01:41
@pranavkm pranavkm added this to the 5.0.1 milestone Nov 17, 2020
@mkArtakMSFT mkArtakMSFT added the Servicing-consider Shiproom approval is required for the issue label Nov 17, 2020
@ghost
Copy link

ghost commented Nov 17, 2020

Hello human! Please make sure you've included the Shiproom Template in a comment or (preferably) the PR description. Also, make sure this PR is not marked as a draft and is ready-to-merge.

@leecow leecow added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Nov 17, 2020
@wtgodbe wtgodbe merged commit f1ed2df into release/5.0 Nov 19, 2020
@wtgodbe wtgodbe deleted the prkrishn/include-in-bundle branch November 19, 2020 19:41
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.

*.Views.dll for 3.1 apps are no longer in the single file bundle after updating to 5.0 SDK

6 participants