Skip to content

Fix bootstrap IDE0005 in Remote.Razor#83748

Merged
davidwengier merged 1 commit into
dotnet:mainfrom
davidwengier:build-fixes
May 18, 2026
Merged

Fix bootstrap IDE0005 in Remote.Razor#83748
davidwengier merged 1 commit into
dotnet:mainfrom
davidwengier:build-fixes

Conversation

@davidwengier
Copy link
Copy Markdown
Member

@davidwengier davidwengier commented May 18, 2026

Summary

  • remove unused usings in Remote.Razor code action types that fail bootstrap correctness with IDE0005

Testing

  • .\.dotnet\dotnet.exe build .\src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Remote.Razor\Microsoft.CodeAnalysis.Remote.Razor.csproj -c Release /p:BootstrapBuildPath=.\artifacts\bootstrap\correctness /p:RoslynEnforceCodeStyle=true /p:ContinuousIntegrationBuild=true /warnaserror /p:TreatWarningsAsErrors=true
Microsoft Reviewers: Open in CodeFlow

Copilot AI review requested due to automatic review settings May 18, 2026 07:21
@davidwengier davidwengier requested a review from a team as a code owner May 18, 2026 07:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes unused using directives from Remote.Razor code action files to satisfy IDE0005 during bootstrap correctness builds.

Changes:

  • Removed unused System imports from Razor code action resolver files.
  • Removed an unused Razor language import from the HTML code action provider.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/CodeActions/Razor/GenerateEventHandlerCodeActionResolver.cs Removes an unused System using.
src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/CodeActions/Html/HtmlCodeActionProvider.cs Removes an unused Microsoft.AspNetCore.Razor.Language using.
src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/CodeActions/CodeActionResolveService.cs Removes an unused System using.

@davidwengier davidwengier requested a review from a team May 18, 2026 07:41
@davidwengier davidwengier enabled auto-merge May 18, 2026 08:45
@davidwengier davidwengier merged commit 773efb7 into dotnet:main May 18, 2026
26 of 27 checks passed
@davidwengier davidwengier deleted the build-fixes branch May 18, 2026 10:02
@dotnet-policy-service dotnet-policy-service Bot added this to the Next milestone May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants