-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
Not able to lint on sln/slnx and fsproj
Version
$ dotnet-fsharplint --version
Current version: 0.24.2+143ae50e0e32d0842fa36c1bc22c735f2c72f114
Repro
Proj file
$ dotnet build ./src/FSharpLint.Core/FSharpLint.Core.fsproj
Restore complete (0.5s)
FSharpLint.Core succeeded (0.4s) → src/FSharpLint.Core/bin/Debug/net9.0/FSharpLint.Core.dll
Build succeeded in 1.5s
$ dotnet-fsharplint --format msbuild lint ./src/FSharpLint.Core/FSharpLint.Core.fsproj
FSharpLint error: Lint failed to parse files. Failed with: Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.Slnx
$ dotnet-fsharplint --format msbuild lint ./fsharp-console.sln
FSharpLint error: Lint failed to parse files. Failed with: Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
Type check failed. You might want to build your solution/project first and try again.
$ dotnet-fsharplint --format msbuild lint ./fsharp-console.slnx
========== Linting <inline source> ==========
========== Finished: 0 warnings ==========
========== Summary: 0 warnings ==========
Metadata
Metadata
Assignees
Labels
No labels