dnu publish - System.ArgumentNullException: Value cannot be null

前端 未结 1 654
暗喜
暗喜 2021-01-26 06:24

When running the following dnu publish, I get an ArgumentNullException exception thrown.

dnu publish \"C:\\Project\\MyProject\" --out \"C:\\a\" --co         


        
相关标签:
1条回答
  • 2021-01-26 07:04

    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.

    0 讨论(0)
提交回复
热议问题