When running the following dnu publish, I get an ArgumentNullException exception thrown.
dnu publish
dnu publish \"C:\\Project\\MyProject\" --out \"C:\\a\" --co
The problem came down to the fact that MyProject was targeting dnx451 and RelatedProject (referenced by MyProject) was targeting net451. Changing RelatedProject to target dnx451 fixed the problem on dnu publish.
dnx451
net451