Nuget with Artifactory. Key not valid for use in specified state -
i using artifactory nuget repository store nuget packages. when use artifactory link source, package manager in visual studio prompts credentials , worked fine. moved build machine (with out vs) , try build application throwing error :
.nuget\nuget.targets(100,9): error : key not valid use in specified state.
i added source -user -password , put config @ local user location. tried cleartext password , encrypted password both throwing same error.
am missing here? please advice.
i believe error isn't related artifactory. issue nuget reports related encrypting/decrypting user credentials in nuget.config files.
i encountered error when tried set apikey repo:
nuget setapikey user:pwd -config .\nuget.test.config -source .\packages
nuget reported "key not valid use in specified state". had nuget.config file located near nuget.test.config. nuget.config contained packagesourcecredentials
section credentials of other user (than 1 passed setapikey). after remove credentials nuget.config error gone.
Comments
Post a Comment