Skip to content

Conversation

mthalman
Copy link
Member

The source-only VMR build for dotnet/sdk#47869 is failing when building the razor repo with this error:

src/razor/src/Analyzers/Razor.Diagnostics.Analyzers/Razor.Diagnostics.Analyzers.csproj(0,0): error NU1109: (NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Threading.Tasks.Extensions from 4.6.2 to centrally defined 4.6.0. Update the centrally managed package version to a higher version. 
 Razor.Diagnostics.Analyzers -> Microsoft.CodeAnalysis.CSharp 4.14.0-3.25176.10 -> System.Threading.Tasks.Extensions (>= 4.6.2) 
 Razor.Diagnostics.Analyzers -> System.Threading.Tasks.Extensions (>= 4.6.0)

This is caused by Roslyn having a new dependency on version 4.6.2 of System.Threading.Tasks.Extensions while razor is still centrally defining it to version 4.6.0. This is resolved by simply upgrading to 4.6.2.

@mthalman mthalman requested review from a team as code owners March 27, 2025 14:09
@mthalman
Copy link
Member Author

Never mind. This was fixed in #11507.

@mthalman mthalman closed this Mar 27, 2025
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.

1 participant