Open ColdstarJoey opened 3 months ago
Could you try to run this command in a console and see if the executable is found? dotnet "/Users/mainuser/nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll"
What version of the extension are you using?
Hey, I´ve also got the same error. This is the debug log from the console you´ve asked for:
dotnet "/Users/USER/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll" -C False -R -U https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json -V "Debug"
[Verbose] [CredentialProvider]Running in stand-alone mode
[Verbose] [CredentialProvider]Command-line v1.2.2: /Users/USER/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll -C False -R -U https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json -V Debug
[Verbose] [CredentialProvider]Handling auth request, Uri: https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json, IsRetry: False, IsNonInteractive: False, CanShowDialog: False
[Verbose] [CredentialProvider]URI: https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json
[Verbose] [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet with external endpoint credentials. Appropriate environment variable needs to be set.
[Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json
[Verbose] [CredentialProvider]VstsBuildTaskCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet. Appropriate environment variables must be set.
[Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTask.VstsBuildTaskCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json
[Verbose] [CredentialProvider]GET https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json
[Verbose] [CredentialProvider]VstsCredentialProvider - https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json is not an Azure Artifacts feed.
[Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.Vsts.VstsCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json
[Verbose] [CredentialProvider]Unable to acquire credentials.
I´m trying to add a private gitlab feed on my MacBook M1.
Hey, I´ve also got the same error. This is the debug log from the console you´ve asked for:
dotnet "/Users/USER/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll" -C False -R -U https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json -V "Debug" [Verbose] [CredentialProvider]Running in stand-alone mode [Verbose] [CredentialProvider]Command-line v1.2.2: /Users/USER/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll -C False -R -U https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json -V Debug [Verbose] [CredentialProvider]Handling auth request, Uri: https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json, IsRetry: False, IsNonInteractive: False, CanShowDialog: False [Verbose] [CredentialProvider]URI: https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json [Verbose] [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet with external endpoint credentials. Appropriate environment variable needs to be set. [Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json [Verbose] [CredentialProvider]VstsBuildTaskCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet. Appropriate environment variables must be set. [Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTask.VstsBuildTaskCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json [Verbose] [CredentialProvider]GET https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json [Verbose] [CredentialProvider]VstsCredentialProvider - https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json is not an Azure Artifacts feed. [Verbose] [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.Vsts.VstsCredentialProvider, cannot provide credentials for https://gitlab.com/api/v4/projects/ID/packages/nuget/index.json [Verbose] [CredentialProvider]Unable to acquire credentials.
I´m trying to add a private gitlab feed on my MacBook M1.
Could you create a nuget.config file with the necessary credentials to access the GitLab registry and check whether it works?
When I add the source
{"name": "Telerik UI","url": "https://nuget.telerik.com/v3/index.json"}
and I have the latest version of CredentialProivder located at{user-profile}/nuget/plugins/netcore/CredentialProvider.Microsoft
it comes back with in the terminal
The terminal process failed to launch: Path to shell executable "dotnet "/Users/mainuser/nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll"" does not exist.
and in the output it returns Error: there is no registered task type 'nuget'. Did you miss installing an extension that provides a corresponding task provider?
the dll is in the folder but this source also needs a username and password, any ideas?
this works in VS 2022 Mac perfectly, just need it to in VS code