Skip to content

PublicApiAnalyzer fixes don't work #4401

Open

Description

Hi

Something about my deployment means that the fixes aren't applying and I can't get a useful error message. In VS the code fix shows but then disappears if I click on it:

image

In VS Code I get a slightly more informative message but I'm not sure it's the same:

image

(note the path is absolute, which looks wrong to me)

It seems like the code fix can't find the file and so it's erroring out. I assume the same is happening in VS but I can't find the error message.

I'm using

<Import Sdk="Microsoft.Build.CentralPackageVersions" Project="Sdk.props" Version="2.0.1" />

but I'm not sure if that's related...

Is there a place I can look for more informative error messages?

Thanks

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

Metadata

Assignees

No one assigned

    Labels

    Area-Microsoft.CodeAnalysis.PublicApiAnalyzersBugThe product is not behaving according to its current intended designhelp wantedThe issue is up-for-grabs, and can be claimed by commenting

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions