now working correctly with latest version of nuget.core