automation tools failed to build , ...../...../.....Automation.dll' could not be found problem

hello ,
1 -i downloaded dotnet v3.1 from visual studion and it worked for me .
2-then i runed into similar issue and i soleved it by changing “BgScriptReader.cs” like[so_toasty] said here : https://forums.unrealengine.com/t/error-compiling-the-automation-tool-after-updating-visual-studio-today-unreal-5-3-2/1393088/18?u=tlemsani-achref