dotnet fsharplint lint Tests.fsproj hangs indefinitely on one project in my repo. The problem surfaced after extracting code from one project into a sibling project. I haven't put in the effort to reproduce it outside my project, but the behavior is 100% reproducible in my closed-source codebase.
- Hangs with
project.assets.json present in obj/ dirs
- Completes in ~23s after removing
project.assets.json from both the test project and its library dependency (removing from only one is not sufficient)
- Wildcard mode (
Tests/**/*.fs) works fine regardless
dotnet build-server shutdown, DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1, MSBUILDDISABLENODEREUSE=1 don't help
Environment: FSharpLint 0.26.10, .NET 10.0, macOS ARM64
Workaround: Temporarily move project.assets.json out of obj/ dirs before linting, restore after.
Happy to share more project structure details if helpful.
dotnet fsharplint lint Tests.fsprojhangs indefinitely on one project in my repo. The problem surfaced after extracting code from one project into a sibling project. I haven't put in the effort to reproduce it outside my project, but the behavior is 100% reproducible in my closed-source codebase.project.assets.jsonpresent inobj/dirsproject.assets.jsonfrom both the test project and its library dependency (removing from only one is not sufficient)Tests/**/*.fs) works fine regardlessdotnet build-server shutdown,DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1,MSBUILDDISABLENODEREUSE=1don't helpEnvironment: FSharpLint 0.26.10, .NET 10.0, macOS ARM64
Workaround: Temporarily move
project.assets.jsonout ofobj/dirs before linting, restore after.Happy to share more project structure details if helpful.