Skip to content

TSQLLINT fails due to missing .net 8.0.0 after v.8.4 update #4599

@TommyE123

Description

@TommyE123

Describe the bug
When using TSQLLINT the following error occurs using the latest version v8.4.0.

Screenshots

Unable to extract version with regex re.compile('\\d+(\\.\\d+)+') from ERROR
❌ Linted [SQL] files with [tsqllint]: Found 1 error(s) - (0.03s)
- Using [tsqllint vERROR] https://megalinter.io/8.4.0/descriptors/sql_tsqllint
- MegaLinter key: [SQL_TSQLLINT]
- Rules config: [/_Pipelines/LinterRules/.tsqllintrc]
- Number of files analyzed: [1]
- Command: [tsqllint --config /tmp/lint/_Pipelines/LinterRules/.tsqllintrc test.sql]
[tsqllint] test.sql - ERROR - 1 error(s)
--Error detail:
You must install or update .NET to run this application.

App: /root/.dotnet/tools/tsqllint
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /usr/lib/dotnet

The following frameworks were found:
  9.0.1 at [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Additional context
TSQLLINT currently appears to not support .net 9 and requires .net 8 still.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions