If your local DEV is windows operative system the error should be simple just add the following lines on the csproj
<TargetFramework>net8.0</TargetFramework> <RuntimeIdentifier>linux-x64</RuntimeIdentifier>