Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

Backport of #16252

Fixes: dotnet/source-build#3410

Razor source-generator was including SBRP package for Microsoft.Extensions.ObjectPool which resulted in Microsoft.Extensions.ObjectPool.dll being a reference assembly. This was introduced with the following razor change: dotnet/razor#8542

Package version property was incorrect - source-build could not override with live version of Microsoft.Extensions.ObjectPool package.

This PR does not address other instances of similarly named packages using MicrosoftExtensionsPackageVersion property. There are no other reference assemblies in final, source-build produced, SDK.

Also, re-enabling BlazorWasm test.

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team as a code owner April 27, 2023 14:59
@NikolaMilosavljevic
Copy link
Member Author

This is a backport of the change that is already in Preview 4: #16252

All checks are passing now - there was a conflict and a patch could not be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generator 'RazorSourceGenerator' failed to generate source

2 participants