A developer has sold an 8,060-square-foot retail building in Pleasantville that is net-leased to a national dollar store chain, according to brokers with Marcus & Millichap.