Skip to content

Conversation

pranavkm
Copy link
Contributor

References by Razor.Language end up getting loaded in VS and the source generator. I'd like to avoid Razor to load a general purpose assembly unless we absolutely need to.

@pranavkm pranavkm requested a review from Pilchie as a code owner October 20, 2021 21:08
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Oct 20, 2021
@pranavkm pranavkm requested review from BrennanConroy and a team October 20, 2021 21:09
@pranavkm
Copy link
Contributor Author

@dotnet/aspnet-blazor-eng could I have you look at this? We switched to using HashCode from the Microsoft.BCL package, but this is slightly problematic in Razor (we have to load the assembly in tooling / sg). I'm switching it back to the older implementation. The PR blocks aspnetcore injection in to the SDK repo.

@pranavkm pranavkm enabled auto-merge (squash) October 21, 2021 20:50
@TanayParikh TanayParikh disabled auto-merge October 21, 2021 21:00
Copy link
Contributor

@TanayParikh TanayParikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some clarifications on the HashCodeCombiner usage.

References by Razor.Language end up getting loaded in VS and the source generator
Copy link
Contributor

@TanayParikh TanayParikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@TanayParikh TanayParikh enabled auto-merge (squash) October 21, 2021 21:36
@TanayParikh TanayParikh merged commit adb591e into dotnet:main Oct 22, 2021
@ghost ghost added this to the 7.0-preview1 milestone Oct 22, 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.

2 participants