MassHousing has closed on $8.5 million in affordable housing financing to Dakota Partners, Inc., to support the final phase of development of the Woodland Cove housing community in Wareham.