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.