Same problem, solution is to delete C:\Users%your username%\AppData\Local\FlightSimulator and Flightsimulator related files in C:\Users%your username%\AppData\Local\Microsoft\WindowsApps
This solution didn’t work, I still have the same message.
By the way, if I make a research on my D drive for the file indicated on the error message I have a negative exit, whatever I dial (MicrosoftGeoSpatialTiles.dll for example).
Also because the line D:\a\1\s\src is a non existing path on my D drive.