Skip to content

UnusedOpensAnalyzer is constantly executed even then disabled causing VS unresponsiveness #18762

@xperiandri

Description

@xperiandri

https://developercommunity.visualstudio.com/t/F-UnusedOpensAnalyzer-is-constantly-e/10939016

Looks like UnusedOpensAnalyzer constantly crashes and tries to execute again. Which causes Visual Studio to hang up to 30 seconds. Makes Visual Studio completely unusable!
Even when UnusedOpensAnalyzer is disabled in settings, it is still executed!

Image

Repro steps

  1. Clone https://github.com/Ecierge/Elmish.Uno/tree/Ecierge
  2. Check out Ecierge branch
  3. Open Elmish.Uno.sln
  4. Expand Elmish.Uno project
  5. Open Binding.fs or BindingT.fs
  6. See how UnusedOpensAnalyzer constantly appears in logs

Expected behavior

  1. All code fixes can be disabled if unchecked in VS settings
  2. Code fixes do not go into the crash loop

Actual behavior

UnusedOpensAnalyzer and one more code fix cannot be disabled.
UnusedOpensAnalyzer code fix goes into crash loop

Known workarounds

Unfortunately, no, and it drastically affects the development productivity

Related information

Provide any related information (optional):

  • Operating system 10.0.26100.4351
  • .NET Core 9.0.302
  • FSharp.Core 9.0.202
  • Visual Studio Version 17.14.9 Preview 1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions