Support for Credential Providers needs at least Paket version
Paket supports Credential Providers through the same interface as NuGet.
Paket extends the definition and allows to run FDD-NetCore applications to run as well (
*.dll files!), so Paket additionally searches for
CredentialProvider*.dll files in the given paths. For this to work Paket needs to be able to resolve a
dotnet executable from the
For regular paket users installing Credential Providers works the same as for the NuGet client. If you have already installed Credential Providers in
%LOCALAPPDATA%\NuGet\CredentialProviders paket should pick them up immediatly.
- Download the credential providers from your VSTS Instance.
- Extract the
CredentialProvider.VSS.exefile into the above path (
- use paket normally (without password in
paket.dependenciesand config) and enter the password in the provided dialog.
There are two options to use Credential Providers in your build agent:
- Either install a global Credential Provider on your agent
- Use Tasks to provide Credential Providers as part of your build.
Install https://github.com/matthid/Paket.TeamBuildCredentials/releases/tag/0.1.1 on your TFS Add the "Setup Paket credential manager" build step before calling Paket. See more infos here
Note: Disable failing on standard error for your build step calling paket.