FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
30 stars 17 forks source link

Build fails on Linux due to wrong case in project references #566

Closed and-hus closed 2 months ago

and-hus commented 2 months ago

Describe the bug Both in CoreTests.csproj and in Cql.Compiler.csproj the Elm project is referenced as ELM/ELM.csproj although the path and filename are Elm/Elm.csproj.

This works on Windows/Mac, as the Windows/Mac filesystems are not case sensitive and for Windows/Mac Elm.csproj and ELM.csproj are the same files. But it causes issues, when trying to build the projects on Linux, as Linux filesystems are typically case sensitive - treating Elm.csproj and ELM.csproj as different files.

To Reproduce Steps to reproduce the behavior:

  1. Checkout the develop-2.0 branch on a Linux system (e.g. Ubuntu)
  2. run dotnet build Cql-Sdk.slnf
  3. You will see errors like Skipping project "/[...]/firely-cql-sdk/Cql/ELM/ELM.csproj" because it was not found.

Expected behavior The solution and project should build on Linux

Screenshots N/A

Version used: develop-2.0 branch, commit 22c8c5dd0c168c132c42bcf6d87268a21c2ec23a, 23.09.2024 on Kubuntu 24.04,

Additional context N/A