Rider detects 20 errors in the source code of the engine (UE 5.2))

Got few of yours error too, 9 errors in 4 files: ElectraPlayerRuntime.Build.cs (2 errors), ElectraSamples.Build.cs (2 errors), ShaderFormatD3D.Build.cs (1 error), DX12.Build.cs (4 errors). Cannot resolve symbol ‘DirectX’, and sill can build and run. But wanna fix it too.