As I’m using Visual GDB some suggestions spring to mind:
<h4>After importing a CubeMX project then making changes to it in CubeMX, we must exit VS and then reload the solution.</h4> Why not add a context menu command when we right click the solution “refresh”, to do this rather than exit/restart?