Resolved dependency problem when generating nupkg file