Simulation cause system.accessViolationException

I try to run the SITL in the simulation tab, after i build it in visual studio 2017. When I run it, I get ‘System.AccessViolationException’ in some non-reasonable parts in the code, such as in the line: ‘log.Info(DateTime.Now + " " + sev + " " + logdata);’ (of MavLinkInterface.cs).

I’m using an older version of mission planner (1.3.39), but thats the only version that suitable to Visual Studio who worked in my windows 7. I know you don’t support anymore older versions, but do you have any idea?