build project when packing nuget, to ensure latest version is packaged