Revert "use nuget repository instead of library"

This reverts commit 21d9c816be76c98e5bd326df6f681336077363cb.