add core portable library project