Fixing this by checking for diagnostic errors before continuing. Fix #2692 Fix #2942
this removes a regression in ProjectModelServer behavior also added a test to cover target framework change in DTH