Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Quick Fix not showing up #1610

Closed
aaronpowell opened this issue Nov 13, 2024 · 2 comments
Closed

[BUG] Quick Fix not showing up #1610

aaronpowell opened this issue Nov 13, 2024 · 2 comments
Labels
area-roslyn bug Something isn't working

Comments

@aaronpowell
Copy link

Describe the Issue

I'm using the Public API Analyzer in https://github.com/CommunityToolkit/Aspire but since adding .NET 9 to our devcontainer the analyzer quick fix is no longer showing up (but it was prior to the .NET 9 release/adding .NET 9 to the devcontainer).

It's detected:

Image

But not an option:

Image

The feature works in VS though.

Steps To Reproduce

  1. Clone https://github.com/CommunityToolkit/Aspire and open in the devcontainer
  2. Add a new public method to any of the classes in projects under the src folder
  3. Wait for the analyzer to run
  4. Activate the quick fix menu

Expected Behavior

I'd expect that the Analyzer code fix option to be presented and execute, as it did prior to updating.

Environment Information

  • OS: devcontainer
  • C# DevKit version: 1.14.2 (pre-release)
  • VS Code version:
Version: 1.96.0-insider (system setup)
Commit: db865c38f0f5fee1de1653b75dd66ec802d24a28
Date: 2024-11-13T17:56:05.737Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26120
@aaronpowell aaronpowell added the bug Something isn't working label Nov 13, 2024
@svick
Copy link

svick commented Nov 22, 2024

I suspect this is a duplicate of dotnet/vscode-csharp#7802. If it is, it should be fixed in the current prerelease version of the C# extension.

@dibarbet
Copy link
Member

yup, should be fixed in 2.58.20 (prerelease)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-roslyn bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants